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

Unified Diff: android_webview/browser/aw_browser_context.h

Issue 1423713015: [WIP] WebRestrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_browser_context.h
diff --git a/android_webview/browser/aw_browser_context.h b/android_webview/browser/aw_browser_context.h
index 9028da0afb9e64f6138e23b95032177c2908ffb3..70cc2ed111970587408e8472d42590b540c889e5 100644
--- a/android_webview/browser/aw_browser_context.h
+++ b/android_webview/browser/aw_browser_context.h
@@ -50,6 +50,10 @@ namespace visitedlink {
class VisitedLinkMaster;
}
+namespace web_restriction {
+class WebRestrictionProvider;
+}
+
namespace android_webview {
class AwFormDatabaseService;
@@ -107,6 +111,8 @@ class AwBrowserContext : public content::BrowserContext,
policy::URLBlacklistManager* GetURLBlacklistManager();
+ web_restriction::WebRestrictionProvider* GetWebRestrictionProvider();
+
// content::BrowserContext implementation.
scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
const base::FilePath& partition_path) override;
@@ -170,6 +176,8 @@ class AwBrowserContext : public content::BrowserContext,
data_reduction_proxy_service_;
scoped_ptr<content::PermissionManager> permission_manager_;
+ scoped_ptr<web_restriction::WebRestrictionProvider> web_restriction_provider_;
+
DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
};

Powered by Google App Engine
This is Rietveld 408576698