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

Unified Diff: android_webview/browser/aw_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: android_webview/browser/aw_content_browser_client.h
diff --git a/android_webview/browser/aw_content_browser_client.h b/android_webview/browser/aw_content_browser_client.h
index 84dee260dd47030bada5becd128c12312fe80982..738d8d53f566fb8e8a70d74a382ef2e4f15c5f5d 100644
--- a/android_webview/browser/aw_content_browser_client.h
+++ b/android_webview/browser/aw_content_browser_client.h
@@ -124,8 +124,11 @@ class AwContentBrowserClient : 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,
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698