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

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

Issue 459953002: Migrate geolocation permissions to the new common permission class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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 455bff9ead1581821fc3b5f1c0f104f8c73a8332..65a5abbee97179d557c81c8985025720f92c8a07 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -444,8 +444,12 @@ class CONTENT_EXPORT ContentBrowserClient {
int bridge_id,
const GURL& requesting_frame,
bool user_gesture,
- base::Callback<void(bool)> result_callback,
- base::Closure* cancel_callback);
+ const base::Callback<void(bool)>& result_callback);
+
+ virtual void CancelGeolocationPermissionRequest(
+ WebContents* web_contents,
+ int bridge_id,
+ const GURL& requesting_frame);
// Invoked when the Geolocation API uses its permission.
virtual void DidUseGeolocationPermission(WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698