Index: content/public/common/mojo_geoposition.mojom |
diff --git a/content/public/common/mojo_geoposition.mojom b/content/public/common/mojo_geoposition.mojom |
index 852f2a9c44bb6bf464eed9df249702a4564ab9bf..b88ffc22361df5fca1883ef433dd6eec6abe072c 100644 |
--- a/content/public/common/mojo_geoposition.mojom |
+++ b/content/public/common/mojo_geoposition.mojom |
@@ -14,11 +14,11 @@ struct MojoGeoposition { |
// These values follow the W3C geolocation specification and can be returned |
// to JavaScript without the need for a conversion. |
enum ErrorCode { |
- ERROR_CODE_NONE = 0, // Chrome addition. |
- ERROR_CODE_PERMISSION_DENIED = 1, |
- ERROR_CODE_POSITION_UNAVAILABLE = 2, |
- ERROR_CODE_TIMEOUT = 3, |
- ERROR_CODE_LAST = ERROR_CODE_TIMEOUT |
+ NONE = 0, // Chrome addition. |
+ PERMISSION_DENIED = 1, |
+ POSITION_UNAVAILABLE = 2, |
+ TIMEOUT = 3, |
+ LAST = TIMEOUT |
}; |
// Whether this geoposition is valid. |