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

Side by Side Diff: android_webview/browser/aw_contents_io_thread_client.h

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // Retrieve the AllowFileAccess setting value of this AwContents. 92 // Retrieve the AllowFileAccess setting value of this AwContents.
93 // This method is called on the IO thread only. 93 // This method is called on the IO thread only.
94 virtual bool ShouldBlockFileUrls() const = 0; 94 virtual bool ShouldBlockFileUrls() const = 0;
95 95
96 // Retrieve the BlockNetworkLoads setting value of this AwContents. 96 // Retrieve the BlockNetworkLoads setting value of this AwContents.
97 // This method is called on the IO thread only. 97 // This method is called on the IO thread only.
98 virtual bool ShouldBlockNetworkLoads() const = 0; 98 virtual bool ShouldBlockNetworkLoads() const = 0;
99 99
100 // Retrieve the AcceptThirdPartyCookies setting value of this AwContents. 100 // Retrieve the AcceptThirdPartyCookies setting value of this AwContents.
101 virtual bool ShouldAcceptThirdPartyCookies() const = 0; 101 virtual bool ShouldAcceptThirdPartyCookies() const = 0;
102
103 // Retrieve the SafeBrowsingEnabled setting value of this AwContents.
104 virtual bool GetSafeBrowsingEnabled() const = 0;
102 }; 105 };
103 106
104 } // namespace android_webview 107 } // namespace android_webview
105 108
106 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_ 109 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/apk/java/proguard.flags ('k') | android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698