| Index: components/geolocation/public/interfaces/geoposition.mojom
|
| diff --git a/content/public/common/mojo_geoposition.mojom b/components/geolocation/public/interfaces/geoposition.mojom
|
| similarity index 89%
|
| rename from content/public/common/mojo_geoposition.mojom
|
| rename to components/geolocation/public/interfaces/geoposition.mojom
|
| index 852f2a9c44bb6bf464eed9df249702a4564ab9bf..5a30adddf4aadfa43ee38e5e248661d7a030e876 100644
|
| --- a/content/public/common/mojo_geoposition.mojom
|
| +++ b/components/geolocation/public/interfaces/geoposition.mojom
|
| @@ -8,17 +8,17 @@
|
| // TODO(blundell): Investigate killing content::Geoposition in favor of using
|
| // this struct everywhere (and renaming it to Geoposition).
|
|
|
| -module content;
|
| +module geolocation;
|
|
|
| -struct MojoGeoposition {
|
| +struct Geoposition {
|
| // 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.
|
|
|