Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1697)

Unified Diff: chrome/browser/geolocation/geoposition.h

Issue 603040: Add support for top level geolocation arbitrator, and access token persistenc... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/geolocation/access_token_store.cc ('k') | chrome/browser/geolocation/location_arbitrator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/geoposition.h
===================================================================
--- chrome/browser/geolocation/geoposition.h (revision 38890)
+++ chrome/browser/geolocation/geoposition.h (working copy)
@@ -20,11 +20,8 @@
// 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,
};
« no previous file with comments | « chrome/browser/geolocation/access_token_store.cc ('k') | chrome/browser/geolocation/location_arbitrator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698