diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-01 16:07:32 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-01 16:07:32 +0000 |
commit | c001c4c5277e933720fdd4a2dedd152d10de118a (patch) | |
tree | ba90e63a83725fd9dfeb17d6d2bd376314c06c7e /chrome/common | |
parent | e4b619701fa20dee65de2386cc728cee9b09f717 (diff) | |
download | chromium_src-c001c4c5277e933720fdd4a2dedd152d10de118a.zip chromium_src-c001c4c5277e933720fdd4a2dedd152d10de118a.tar.gz chromium_src-c001c4c5277e933720fdd4a2dedd152d10de118a.tar.bz2 |
Now arbitration is supported (r48631) enable GPS.
Also updated GPS timestamp's to be based on the host machine's own clock (avoids clock drift affecting freshness calculation) and updated Geoposition's docs to clarify this.
BUG=43868
TEST=Run gpsfake nmea.nme, then ./out/Debug/chrome-wrapper --log-level=1 http://maps.google.com/maps/m (map follows GPS track)
Review URL: http://codereview.chromium.org/2438003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48636 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/geoposition.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/geoposition.h b/chrome/common/geoposition.h index 377e7f3..527de44 100644 --- a/chrome/common/geoposition.h +++ b/chrome/common/geoposition.h @@ -52,6 +52,8 @@ struct Geoposition { double altitude_accuracy; // In metres double heading; // In degrees clockwise relative to the true north double speed; // In meters per second + // Timestamp for this position fix object taken from the host computer's + // system clock (i.e. from Time::Now(), not the source device's clock). base::Time timestamp; // These properties are returned to JavaScript as a PositionError object. |