diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-15 15:15:22 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-15 15:15:22 +0000 |
commit | 8b96de1255b6f885e2b86d6040de416fd6f852c6 (patch) | |
tree | 3eda323e4834cfd73a2d60f9b3af5ca004360957 /chrome/browser/geolocation/geoposition.h | |
parent | 0fa513600397ae54172dd45d1b5f212924bb2d92 (diff) | |
download | chromium_src-8b96de1255b6f885e2b86d6040de416fd6f852c6.zip chromium_src-8b96de1255b6f885e2b86d6040de416fd6f852c6.tar.gz chromium_src-8b96de1255b6f885e2b86d6040de416fd6f852c6.tar.bz2 |
Add support for top level geolocation arbitrator, and access token persistence (via local state prefs)
BUG=11246
TEST=unit_tests.exe --gtest_filer=Geoloc*
Review URL: http://codereview.chromium.org/603040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation/geoposition.h')
-rw-r--r-- | chrome/browser/geolocation/geoposition.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/geolocation/geoposition.h b/chrome/browser/geolocation/geoposition.h index 31e5d55..7143638 100644 --- a/chrome/browser/geolocation/geoposition.h +++ b/chrome/browser/geolocation/geoposition.h @@ -20,11 +20,8 @@ struct Position { // values for all of them to allow us to provide the constants on the error // object. enum ErrorCode { - ERROR_CODE_NONE = -1, // Gears addition - ERROR_CODE_UNKNOWN_ERROR = 0, // Not used by Gears - ERROR_CODE_PERMISSION_DENIED = 1, // Not used by Gears - Geolocation - // methods throw an exception if - // permission has not been granted. + ERROR_CODE_NONE = 0, // Chrome addition + ERROR_CODE_PERMISSION_DENIED = 1, ERROR_CODE_POSITION_UNAVAILABLE = 2, ERROR_CODE_TIMEOUT = 3, }; |