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

Unified Diff: content/public/browser/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
« no previous file with comments | « content/public/browser/browser_context.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 8e37607e5ac1c25c1347bc30264a3569090affa2..6d5ac21248217cd6baf9731b51bfc61cb4bc54aa 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -428,35 +428,6 @@ class CONTENT_EXPORT ContentBrowserClient {
// support this functionality. May be called from any thread.
virtual PlatformNotificationService* GetPlatformNotificationService();
- virtual void RequestPermission(
- PermissionType permission,
- WebContents* web_contents,
- int bridge_id,
- const GURL& requesting_frame,
- bool user_gesture,
- const base::Callback<void(PermissionStatus)>& callback);
-
- virtual void CancelPermissionRequest(PermissionType permission,
- WebContents* web_contents,
- int bridge_id,
- const GURL& requesting_frame) {}
-
- virtual void RegisterPermissionUsage(PermissionType permission,
- WebContents* web_contents,
- const GURL& frame_url,
- const GURL& main_frame_url) {}
-
- virtual PermissionStatus GetPermissionStatus(
- PermissionType permission,
- BrowserContext* browser_context,
- const GURL& requesting_origin,
- const GURL& embedding_origin);
-
- virtual void ResetPermission(PermissionType permission,
- BrowserContext* browser_context,
- const GURL& requesting_origin,
- const GURL& embedding_origin) {}
-
// Returns true if the given page is allowed to open a window of the given
// type. If true is returned, |no_javascript_access| will indicate whether
// the window that is created should be scriptable/in the same process.
« no previous file with comments | « content/public/browser/browser_context.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698