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

Unified Diff: chrome/browser/chrome_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: 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 eb2f90b6cb9465693eb71525eebf4157389096f2..fcda73372f6099dc653ecc816cad842518cfde40 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -202,8 +202,11 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
int bridge_id,
const GURL& requesting_frame,
bool user_gesture,
- base::Callback<void(bool)> result_callback,
- base::Closure* cancel_callback) OVERRIDE;
+ const base::Callback<void(bool)>& result_callback) OVERRIDE;
+ virtual void CancelGeolocationPermissionRequest(
+ content::WebContents* web_contents,
+ int bridge_id,
+ const GURL& requesting_frame) OVERRIDE;
virtual void RequestMidiSysExPermission(
content::WebContents* web_contents,
int bridge_id,

Powered by Google App Engine
This is Rietveld 408576698