summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/geoposition.h
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-15 15:15:22 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-15 15:15:22 +0000
commit8b96de1255b6f885e2b86d6040de416fd6f852c6 (patch)
tree3eda323e4834cfd73a2d60f9b3af5ca004360957 /chrome/browser/geolocation/geoposition.h
parent0fa513600397ae54172dd45d1b5f212924bb2d92 (diff)
downloadchromium_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.h7
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,
};