summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/geolocation_dispatcher.h
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 16:24:45 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 16:24:45 +0000
commitd085401e5e61569b0a73f236bab26cb6aeeeeac2 (patch)
tree9458bf4f914e72f1766dda4356403e4f271f7f95 /chrome/renderer/geolocation_dispatcher.h
parent86272b73e152161cb64647490810e5c2c54f59da (diff)
downloadchromium_src-d085401e5e61569b0a73f236bab26cb6aeeeeac2.zip
chromium_src-d085401e5e61569b0a73f236bab26cb6aeeeeac2.tar.gz
chromium_src-d085401e5e61569b0a73f236bab26cb6aeeeeac2.tar.bz2
Adds host for Geolocation OnStartUpdating.
This change blocks https://bugs.webkit.org/show_bug.cgi?id=36012 A follow-up will: + Remove the overloaded method (once WebKit lands). + Actually use the host. Review URL: http://codereview.chromium.org/848003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/geolocation_dispatcher.h')
-rw-r--r--chrome/renderer/geolocation_dispatcher.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/renderer/geolocation_dispatcher.h b/chrome/renderer/geolocation_dispatcher.h
index 31fdab4c..9a3466c 100644
--- a/chrome/renderer/geolocation_dispatcher.h
+++ b/chrome/renderer/geolocation_dispatcher.h
@@ -29,7 +29,11 @@ class GeolocationDispatcher : public WebKit::WebGeolocationServiceInterface {
// WebKit::GeolocationServiceInterfaceChromium.
void requestPermissionForFrame(int bridge_id, const WebKit::WebURL& url);
- void startUpdating(int bridge_id, bool hasHighAccuracy);
+ // TODO(bulach): remove this method once we roll:
+ // https://bugs.webkit.org/show_bug.cgi?id=36012.
+ void startUpdating(int bridge_id, bool enableHighAccuracy);
+ void startUpdating(
+ int bridge_id, const WebKit::WebURL& url, bool enableHighAccuracy);
void stopUpdating(int bridge_id);
void suspend(int bridge_id);
void resume(int bridge_id);