summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/location_arbitrator.h
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 12:11:28 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 12:11:28 +0000
commit58c321dd57a1fc00c2c51b0a8b6e547fdf32aa74 (patch)
treecdd273a38ba1b449952d5701e6ceb6f46142c073 /chrome/browser/geolocation/location_arbitrator.h
parent2375d294b30e5d0b0bc63d26a417203959ef32af (diff)
downloadchromium_src-58c321dd57a1fc00c2c51b0a8b6e547fdf32aa74.zip
chromium_src-58c321dd57a1fc00c2c51b0a8b6e547fdf32aa74.tar.gz
chromium_src-58c321dd57a1fc00c2c51b0a8b6e547fdf32aa74.tar.bz2
Second try for:
http://src.chromium.org/viewvc/chrome?view=rev&revision=39374 Initial Geolocation implementation Adds IPC plumbing. Adds Infobar buttons for requesting permission This change specifically: ui_test_utils::WaitForAppModalDialog registers for listening to notifications too late, i.e., after the dialog had been triggered. Exposes AppModalDialogObserver so that we can register, trigger the dialog, then wait for it. Review URL: http://codereview.chromium.org/647048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation/location_arbitrator.h')
-rw-r--r--chrome/browser/geolocation/location_arbitrator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/geolocation/location_arbitrator.h b/chrome/browser/geolocation/location_arbitrator.h
index aaf61a0..b0c10bc9 100644
--- a/chrome/browser/geolocation/location_arbitrator.h
+++ b/chrome/browser/geolocation/location_arbitrator.h
@@ -7,7 +7,7 @@
class AccessTokenStoreFactory;
class URLRequestContextGetter;
-struct Position;
+struct Geoposition;
// This is the main API to the geolocaiton subsystem. Typically the application
// will hold a single instance of this class, and can register multiple
@@ -29,7 +29,7 @@ class GeolocationArbitrator {
// This will be called whenever the 'best available' location is updated,
// or when an error is encountered meaning no location data will be
// available in the forseeable future.
- virtual void OnLocationUpdate(const Position& position) = 0;
+ virtual void OnLocationUpdate(const Geoposition& position) = 0;
protected:
virtual ~Delegate() {}