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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 750633003: Implement HasPermission() method in PermissionService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dependencies to content_app, content_child and content_ppapi_plugin 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: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 66860f16e205cc80b0aec117a3c6fb075b8a7150..884ae0d3176e7cba4486f66aae173f5ee7b88a5e 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -189,6 +189,11 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
const GURL& requesting_frame,
bool user_gesture,
const base::Callback<void(bool)>& result_callback) override;
+ content::PermissionStatus GetPermissionStatus(
+ content::PermissionType permission,
+ content::BrowserContext* browser_context,
+ const GURL& requesting_origin,
+ const GURL& embedding_origin) override;
void CancelPermissionRequest(content::PermissionType permission,
content::WebContents* web_contents,
int bridge_id,
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | content/public/common/permission_status.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698