summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/geolocation_dispatcher_host.h
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-19 13:19:57 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-19 13:19:57 +0000
commit6e14e4f148f308917dc5de8b09e6307e851a39a1 (patch)
tree5e162017ee13a1cfc35fc38372c09eebab086517 /chrome/browser/geolocation/geolocation_dispatcher_host.h
parent8bc90e59bad05168abc098d6068df109a650a011 (diff)
downloadchromium_src-6e14e4f148f308917dc5de8b09e6307e851a39a1.zip
chromium_src-6e14e4f148f308917dc5de8b09e6307e851a39a1.tar.gz
chromium_src-6e14e4f148f308917dc5de8b09e6307e851a39a1.tar.bz2
Uses GURL instead of host for requesting Geolocation permission.
Tidy up GeolocationPermissionContext. (in preparation for http://codereview.chromium.org/1033004). Review URL: http://codereview.chromium.org/1074004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation/geolocation_dispatcher_host.h')
-rw-r--r--chrome/browser/geolocation/geolocation_dispatcher_host.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/geolocation/geolocation_dispatcher_host.h b/chrome/browser/geolocation/geolocation_dispatcher_host.h
index feb1585..8fdec4d 100644
--- a/chrome/browser/geolocation/geolocation_dispatcher_host.h
+++ b/chrome/browser/geolocation/geolocation_dispatcher_host.h
@@ -43,9 +43,9 @@ class GeolocationDispatcherHost
void OnRegisterDispatcher(int render_view_id);
void OnUnregisterDispatcher(int render_view_id);
void OnRequestPermission(
- int render_view_id, int bridge_id, const std::string& host);
+ int render_view_id, int bridge_id, const GURL& requesting_frame);
void OnStartUpdating(
- int render_view_id, int bridge_id, const std::string& host,
+ int render_view_id, int bridge_id, const GURL& requesting_frame,
bool enable_high_accuracy);
void OnStopUpdating(int render_view_id, int bridge_id);
void OnSuspend(int render_view_id, int bridge_id);