summaryrefslogtreecommitdiff
path: root/src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java')
-rw-r--r--src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java b/src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java
new file mode 100644
index 0000000..36a9cfc
--- /dev/null
+++ b/src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java
@@ -0,0 +1,15 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.support_lib_boundary;
+
+import android.webkit.WebResourceRequest;
+import android.webkit.WebResourceResponse;
+
+/**
+ * Boundary interface for ServiceWorkerClient.
+ */
+public interface ServiceWorkerClientBoundaryInterface {
+ WebResourceResponse shouldInterceptRequest(WebResourceRequest request);
+}