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

Unified Diff: content/shell/browser/shell_browser_context.h

Issue 1011953003: Refactor Permissions related method out of ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_type_enum_class
Patch Set: fix cros Created 5 years, 9 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: content/shell/browser/shell_browser_context.h
diff --git a/content/shell/browser/shell_browser_context.h b/content/shell/browser/shell_browser_context.h
index 2162ea0f881052d262338080852db20f70725c97..07802ee955e8b4510cefdd2a388e5c1b2e3a0dfa 100644
--- a/content/shell/browser/shell_browser_context.h
+++ b/content/shell/browser/shell_browser_context.h
@@ -22,6 +22,7 @@ class NetLog;
namespace content {
class DownloadManagerDelegate;
+class PermissionManager;
class ShellDownloadManagerDelegate;
class ZoomLevelDelegate;
@@ -55,6 +56,7 @@ class ShellBrowserContext : public BrowserContext {
storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
PushMessagingService* GetPushMessagingService() override;
SSLHostStateDelegate* GetSSLHostStateDelegate() override;
+ PermissionManager* GetPermissionManager() override;
net::URLRequestContextGetter* CreateRequestContext(
ProtocolHandlerMap* protocol_handlers,
@@ -105,6 +107,7 @@ class ShellBrowserContext : public BrowserContext {
scoped_ptr<ShellResourceContext> resource_context_;
bool ignore_certificate_errors_;
scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_;
+ scoped_ptr<PermissionManager> permission_manager_;
private:
// Performs initialization of the ShellBrowserContext while IO is still
« no previous file with comments | « content/shell/browser/layout_test/layout_test_permission_manager.cc ('k') | content/shell/browser/shell_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698