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

Unified Diff: content/public/browser/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/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 c4ab6f347f3c5b847083fb74bc89742f329f6716..c5c3942d749cc211489a01c8b1d6f7f22e961cd5 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -434,7 +434,7 @@ class CONTENT_EXPORT ContentBrowserClient {
int bridge_id,
const GURL& requesting_frame,
bool user_gesture,
- const base::Callback<void(bool)>& result_callback);
+ const base::Callback<void(PermissionStatus)>& callback);
virtual void CancelPermissionRequest(PermissionType permission,
WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698