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

Unified Diff: android_webview/browser/aw_contents_io_thread_client.h

Issue 2814593002: WebView: add {set,get}SafeBrowsingEnabled per WebView (Closed)
Patch Set: Add javatests 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/browser/aw_contents_io_thread_client.h
diff --git a/android_webview/browser/aw_contents_io_thread_client.h b/android_webview/browser/aw_contents_io_thread_client.h
index 3eb8ae637ce8d96b840b46eb5f83b2a3e10020f0..09e5f50d212065d1b424916407a8ad7cd39193d5 100644
--- a/android_webview/browser/aw_contents_io_thread_client.h
+++ b/android_webview/browser/aw_contents_io_thread_client.h
@@ -99,6 +99,9 @@ class AwContentsIoThreadClient {
// Retrieve the AcceptThirdPartyCookies setting value of this AwContents.
virtual bool ShouldAcceptThirdPartyCookies() const = 0;
+
+ // Retrieve the SafeBrowsingEnabled setting value of this AwContents.
+ virtual bool GetSafeBrowsingEnabled() const = 0;
};
} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698