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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 819463002: Implement RevokePermission() method in PermissionService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 91c8a4dbbf4e3743df75eae6c11238cc86334354..51bc6ae03e4ffe5adb8221c9507b792739db99aa 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -242,6 +242,14 @@ PermissionStatus ContentBrowserClient::GetPermissionStatus(
return PERMISSION_STATUS_DENIED;
}
+PermissionStatus ContentBrowserClient::RevokePermission(
+ PermissionType permission,
+ BrowserContext* browser_context,
+ const GURL& requesting_origin,
+ const GURL& embedding_origin) {
+ return PERMISSION_STATUS_ASK;
+}
+
bool ContentBrowserClient::CanCreateWindow(
const GURL& opener_url,
const GURL& opener_top_level_frame_url,

Powered by Google App Engine
This is Rietveld 408576698