Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2115)

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java

Issue 2814593002: WebView: add {set,get}SafeBrowsingEnabled per WebView (Closed)
Patch Set: Add comment about getSafeBrowsingEnabled() Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java b/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
index b87586fc772fe222a6c53b0020174cb5d4f1c5ef..ed3b63179adc4f5b67fc72aed6d38bd0ffcada22 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
@@ -32,9 +32,7 @@ public class AwBrowserContext {
mSharedPreferences = sharedPreferences;
mApplicationContext = applicationContext;
- if (AwContentsStatics.getSafeBrowsingEnabled()) {
- initSafeBrowsingApiHandler();
- }
+ initSafeBrowsingApiHandler();
}
public AwGeolocationPermissions getGeolocationPermissions() {

Powered by Google App Engine
This is Rietveld 408576698