| 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,
|
| };
|
|
|