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

Unified Diff: content/shell/browser/layout_test/layout_test_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
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/browser/layout_test/layout_test_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/layout_test_browser_context.h
diff --git a/content/shell/browser/layout_test/layout_test_browser_context.h b/content/shell/browser/layout_test/layout_test_browser_context.h
index 7bfb8602b3eaf2a200d05bcdbb2391ee354233c1..c23d96036a6e515b37b24294c9fe29fd8a6f0dfc 100644
--- a/content/shell/browser/layout_test/layout_test_browser_context.h
+++ b/content/shell/browser/layout_test/layout_test_browser_context.h
@@ -16,6 +16,7 @@ namespace content {
class DownloadManagerDelegate;
class LayoutTestPushMessagingService;
+class PermissionManager;
class PushMessagingService;
class LayoutTestBrowserContext : public ShellBrowserContext {
@@ -26,6 +27,7 @@ class LayoutTestBrowserContext : public ShellBrowserContext {
// BrowserContext implementation.
DownloadManagerDelegate* GetDownloadManagerDelegate() override;
PushMessagingService* GetPushMessagingService() override;
+ PermissionManager* GetPermissionManager() override;
LayoutTestPushMessagingService* GetLayoutTestPushMessagingService();
@@ -36,6 +38,7 @@ class LayoutTestBrowserContext : public ShellBrowserContext {
private:
scoped_ptr<LayoutTestPushMessagingService> push_messaging_service_;
+ scoped_ptr<PermissionManager> permission_manager_;
DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserContext);
};
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/browser/layout_test/layout_test_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698