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

Unified Diff: content/shell/browser/shell_content_browser_client.h

Issue 955383003: ContentBrowserClient::RequestPermission replies with PermissionStatus instead of bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android geolocation breakage Created 5 years, 10 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/shell_content_browser_client.h
diff --git a/content/shell/browser/shell_content_browser_client.h b/content/shell/browser/shell_content_browser_client.h
index 33369a1237d2701d72f93d3b45d870c5e54b4ef3..e78062fddb44dc03c7c2391181723a9c3e17d4eb 100644
--- a/content/shell/browser/shell_content_browser_client.h
+++ b/content/shell/browser/shell_content_browser_client.h
@@ -54,6 +54,14 @@ class ShellContentBrowserClient : public ContentBrowserClient {
WebContentsViewDelegate* GetWebContentsViewDelegate(
WebContents* web_contents) override;
QuotaPermissionContext* CreateQuotaPermissionContext() 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;
+
SpeechRecognitionManagerDelegate* CreateSpeechRecognitionManagerDelegate()
override;
net::NetLog* GetNetLog() override;

Powered by Google App Engine
This is Rietveld 408576698