Chromium Code Reviews| Index: android_webview/java/src/org/chromium/android_webview/AwServiceWorkerController.java |
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwServiceWorkerController.java b/android_webview/java/src/org/chromium/android_webview/AwServiceWorkerController.java |
| index a73f6cc361e27918c074411133df833a4212071e..26f7813a44019d825daaab9ce3bdea688a2ef106 100644 |
| --- a/android_webview/java/src/org/chromium/android_webview/AwServiceWorkerController.java |
| +++ b/android_webview/java/src/org/chromium/android_webview/AwServiceWorkerController.java |
| @@ -81,6 +81,12 @@ public class AwServiceWorkerController { |
| // see e.g. AwCookieAccessPolicy::GetShouldAcceptThirdPartyCookies. |
| return false; |
| } |
| + |
| + @Override |
| + public boolean getSafeBrowsingEnabled() { |
| + // We don't allow safe browsing in service workers |
| + return false; |
|
sgurun-gerrit only
2017/04/11 00:38:52
return the value that is dictated by the manifest.
Nate Fischer
2017/04/11 00:58:02
done
|
| + } |
| } |
| private class ServiceWorkerBackgroundThreadClientImpl |