| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file contains the definition of protocol buffers for native browser | 5 // This file contains the definition of protocol buffers for native browser |
| 6 // fingerprinting. | 6 // fingerprinting. |
| 7 | 7 |
| 8 syntax = "proto2"; | 8 syntax = "proto2"; |
| 9 | 9 |
| 10 option optimize_for = LITE_RUNTIME; | 10 option optimize_for = LITE_RUNTIME; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 optional uint32 vendor_id = 1; | 44 optional uint32 vendor_id = 1; |
| 45 | 45 |
| 46 // The GPU manufacturer's device id for the chip set. | 46 // The GPU manufacturer's device id for the chip set. |
| 47 optional uint32 device_id = 2; | 47 optional uint32 device_id = 2; |
| 48 | 48 |
| 49 // The driver version on the GPU. | 49 // The driver version on the GPU. |
| 50 optional string driver_version = 3; | 50 optional string driver_version = 3; |
| 51 | 51 |
| 52 // The driver date on the GPU. | 52 // The driver date on the GPU. |
| 53 optional string driver_date = 4; | 53 optional string driver_date = 4; |
| 54 | |
| 55 // The GPU performance statistics. | |
| 56 message PerformanceStatistics { | |
| 57 optional float graphics_score = 1; | |
| 58 optional float gaming_score = 2; | |
| 59 optional float overall_score = 3; | |
| 60 } | |
| 61 optional PerformanceStatistics performance_statistics = 5; | |
| 62 } | 54 } |
| 63 | 55 |
| 64 // Browser features that integrate with Risk. | 56 // Browser features that integrate with Risk. |
| 65 enum BrowserFeature { | 57 enum BrowserFeature { |
| 66 FEATURE_UNKNOWN = 0; // Should not be reachable. | 58 FEATURE_UNKNOWN = 0; // Should not be reachable. |
| 67 DEPRECATED_FEATURE_AUTOCHECKOUT = 1; | 59 DEPRECATED_FEATURE_AUTOCHECKOUT = 1; |
| 68 FEATURE_REQUEST_AUTOCOMPLETE = 2; | 60 FEATURE_REQUEST_AUTOCOMPLETE = 2; |
| 69 } | 61 } |
| 70 | 62 |
| 71 // A hash of the concatenatation of: | 63 // A hash of the concatenatation of: |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 207 |
| 216 optional Performance performance = 2; | 208 optional Performance performance = 2; |
| 217 | 209 |
| 218 optional UserCharacteristics user_characteristics = 3; | 210 optional UserCharacteristics user_characteristics = 3; |
| 219 | 211 |
| 220 optional TransientState transient_state = 4; | 212 optional TransientState transient_state = 4; |
| 221 | 213 |
| 222 // Metadata associated with data collection. | 214 // Metadata associated with data collection. |
| 223 optional Metadata metadata = 5; | 215 optional Metadata metadata = 5; |
| 224 } | 216 } |
| OLD | NEW |