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

Unified Diff: content/shell/browser/layout_test/layout_test_content_browser_client.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/layout_test/layout_test_content_browser_client.h
diff --git a/content/shell/browser/layout_test/layout_test_content_browser_client.h b/content/shell/browser/layout_test/layout_test_content_browser_client.h
index 328ce611e50e609ab83a2b702e88e114bd6bf4a7..f41794dad6719b854a24635982391bc6e3f3d08b 100644
--- a/content/shell/browser/layout_test/layout_test_content_browser_client.h
+++ b/content/shell/browser/layout_test/layout_test_content_browser_client.h
@@ -9,7 +9,6 @@
namespace content {
-enum class PermissionType;
class LayoutTestBrowserContext;
class LayoutTestNotificationManager;
@@ -28,13 +27,6 @@ class LayoutTestContentBrowserClient : public ShellContentBrowserClient {
// ContentBrowserClient overrides.
void RenderProcessWillLaunch(RenderProcessHost* host) override;
- void RequestPermission(
- PermissionType permission,
- WebContents* web_contents,
- int bridge_id,
- const GURL& requesting_frame,
- bool user_gesture,
- const base::Callback<void(PermissionStatus)>& callback) override;
PlatformNotificationService* GetPlatformNotificationService() override;
void GetAdditionalNavigatorConnectServices(

Powered by Google App Engine
This is Rietveld 408576698