Chromium Code Reviews| Index: chrome/common/metrics/proto/system_profile.proto |
| diff --git a/chrome/common/metrics/proto/system_profile.proto b/chrome/common/metrics/proto/system_profile.proto |
| index 38cbc14b054c6bb008d9f039f0e5b421ebbf502a..03a8af754ec00bb288bfefc330f9e8fdb33a211e 100644 |
| --- a/chrome/common/metrics/proto/system_profile.proto |
| +++ b/chrome/common/metrics/proto/system_profile.proto |
| @@ -78,7 +78,7 @@ message SystemProfileProto { |
| } |
| optional OS os = 5; |
| - // Next tag for Hardware: 13 |
| + // Next tag for Hardware: 14 |
| // Information on the user's hardware. |
| message Hardware { |
| // The CPU architecture (x86, PowerPC, x86_64, ...) |
| @@ -139,16 +139,72 @@ message SystemProfileProto { |
| optional float overall_score = 3; |
| } |
| optional PerformanceStatistics performance_statistics = 5; |
| - |
| - // The GL_VENDOR string. An example of a gl_vendor string is |
| + |
| + // The GL_VENDOR string. An example of a gl_vendor string is |
| // "Imagination Technologies". "" if we are not using OpenGL. |
| optional string gl_vendor = 6; |
| - |
| - // The GL_RENDERER string. An example of a gl_renderer string is |
| + |
| + // The GL_RENDERER string. An example of a gl_renderer string is |
| // "PowerVR SGX 540". "" if we are not using OpenGL. |
| optional string gl_renderer = 7; |
| } |
| optional Graphics gpu = 8; |
| + |
| + // Information about Bluetooth devices paired with the system. |
| + message Bluetooth { |
| + // Whether Bluetooth is present on this system. |
| + optional bool is_present = 1; |
| + |
| + // Whether Bluetooth is enabled on this system. |
| + optional bool is_enabled = 2; |
| + |
| + // Describes a paired device. |
| + message PairedDevice { |
| + // Assigned class of the device. This is a bitfield according to the |
| + // Bluetooth specification available at the following URL: |
| + // https://www.bluetooth.org/en-us/specification/ |
| + // assigned-numbers-overview/baseband |
|
Ilya Sherman
2013/04/23 00:09:43
nit: No need to wrap URLs. They are an exception
keybuk
2013/04/23 00:41:42
Done.
|
| + optional uint32 bluetooth_class = 1; |
| + |
| + // Decoded device type. |
| + enum Type { |
| + DEVICE_UNKNOWN = 0; |
| + DEVICE_COMPUTER = 1; |
| + DEVICE_PHONE = 2; |
| + DEVICE_MODEM = 3; |
| + DEVICE_AUDIO = 4; |
| + DEVICE_CAR_AUDIO = 5; |
| + DEVICE_VIDEO = 6; |
| + DEVICE_PERIPHERAL = 7; |
| + DEVICE_JOYSTICK = 8; |
| + DEVICE_GAMEPAD = 9; |
| + DEVICE_KEYBOARD = 10; |
| + DEVICE_MOUSE = 11; |
| + DEVICE_TABLET = 12; |
| + DEVICE_KEYBOARD_MOUSE_COMBO = 13; |
| + } |
| + optional Type type = 2; |
| + |
| + // Vendor prefix of the Bluetooth address, these are OUI registered by |
| + // the IEEE and are encoded with the first byte in bits 16-23, the |
| + // second byte in bits 8-15 and the third byte in bits 0-7. |
| + // |
| + // ie. Google's OUI (00:1A:11) is encoded as 0x00001A11 |
| + optional uint32 vendor_prefix = 4; |
| + |
| + // Vendor ID of the device, where available. |
| + optional uint32 vendor_id = 5; |
| + |
| + // Product ID of the device, where available. |
| + optional uint32 product_id = 6; |
| + |
| + // Device ID of the device, generally the release or version number in |
| + // BCD format, where available. |
| + optional uint32 device_id = 7; |
| + } |
| + repeated PairedDevice paired_device = 3; |
| + } |
| + optional Bluetooth bluetooth = 13; |
| } |
| optional Hardware hardware = 6; |