From 8b96de1255b6f885e2b86d6040de416fd6f852c6 Mon Sep 17 00:00:00 2001 From: "joth@chromium.org" Date: Mon, 15 Feb 2010 15:15:22 +0000 Subject: 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 --- chrome/browser/geolocation/geoposition.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'chrome/browser/geolocation/geoposition.h') 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, }; -- cgit v1.1