Chromium Code Reviews| Index: chrome/browser/policy/proto/device_management_backend.proto |
| diff --git a/chrome/browser/policy/proto/device_management_backend.proto b/chrome/browser/policy/proto/device_management_backend.proto |
| index b6396020cf0aa21fab52f869a56a905be6d4ae2a..f9a3cb50b5be6e37d69dea93beb2aff1d8f998a6 100644 |
| --- a/chrome/browser/policy/proto/device_management_backend.proto |
| +++ b/chrome/browser/policy/proto/device_management_backend.proto |
| @@ -264,6 +264,44 @@ message InstallableLaunch { |
| optional int64 total_count = 4; |
| } |
| +// Used to report the device location. |
| +message DeviceLocation { |
| + enum ErrorCode { |
| + ERROR_CODE_NONE = 0; |
| + ERROR_CODE_POSITION_UNAVAILABLE = 1; |
| + } |
| + |
| + // Latitude in decimal degrees north (WGS84 coordinate frame). |
| + optional double latitude = 1; |
| + |
| + // Longitude in decimal degrees west (WGS84 coordinate frame). |
| + optional double longitude = 2; |
| + |
| + // Altitude in (above WGS84 datum). |
|
Joao da Silva
2012/04/20 09:49:57
Altitude in <what>?
bartfab (slow)
2012/04/20 14:10:15
In 0.546806649 fathoms :).
Done.
|
| + optional double altitude = 3; |
| + |
| + // Accuracy of horizontal position in meters. |
| + optional double accuracy = 4; |
| + |
| + // Accuracy of altitude in meters. |
| + optional double altitude_accuracy = 5; |
| + |
| + // Heading in decimal degrees clockwise from true north. |
| + optional double heading = 6; |
| + |
| + // Horizontal component of device velocity in meters per second. |
| + optional double speed = 7; |
| + |
| + // Time of position measurement in milisecons since Epoch in UTC time. |
| + optional int64 timestamp = 8; |
| + |
| + // Error code, see enum above. |
| + optional ErrorCode error_code = 9; |
| + |
| + // Human-readable error message. |
| + optional string error_message = 10; |
| +} |
| + |
| // Report device level status. |
| message DeviceStatusReportRequest { |
| optional string os_version = 1; |
| @@ -281,6 +319,9 @@ message DeviceStatusReportRequest { |
| // A list of periods when the device was active, aggregated by day. |
| repeated ActiveTimePeriod active_period = 6; |
| + |
| + // Device location |
|
Joao da Silva
2012/04/20 09:49:57
Nit: make this a sentence, and close with '.'.
bartfab (slow)
2012/04/20 14:10:15
Done.
|
| + optional DeviceLocation device_location = 7; |
| } |
| // Report session (a user on one device) level status. |