Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 195 // TODO(isherman): Acceleration data is not available in Chrome. | 195 // TODO(isherman): Acceleration data is not available in Chrome. |
| 196 optional Vector device_acceleration = 6; | 196 optional Vector device_acceleration = 6; |
| 197 optional Location location = 7; | 197 optional Location location = 7; |
| 198 } | 198 } |
| 199 | 199 |
| 200 // Metadata associated with data collection or the user that doesn't actually | 200 // Metadata associated with data collection or the user that doesn't actually |
| 201 // fingerprint the device. | 201 // fingerprint the device. |
| 202 message Metadata { | 202 message Metadata { |
| 203 // When this data was collected / received, in milliseconds since the epoch. | 203 // When this data was collected / received, in milliseconds since the epoch. |
| 204 optional int64 timestamp_ms = 1; | 204 optional int64 timestamp_ms = 1; |
| 205 // Gaia id associated with transaction. | 205 // Gaia id associated with transaction. |
|
Ilya Sherman
2013/05/03 07:38:31
nit: Please update this comment to indicate that t
Dan Beam
2013/05/03 09:24:47
Yeah, I'll rename this everywhere tomorrow.
Dan Beam
2013/05/03 23:02:40
Done.
| |
| 206 optional int64 gaia_id = 2; | 206 optional uint64 gaia_id = 2; |
| 207 // Version of the native library generating this proto. | 207 // Version of the native library generating this proto. |
| 208 // This may be manually bumped when the code populating the proto has | 208 // This may be manually bumped when the code populating the proto has |
| 209 // significantly changed. | 209 // significantly changed. |
| 210 optional int32 fingerprinter_version = 3; | 210 optional int32 fingerprinter_version = 3; |
| 211 } | 211 } |
| 212 | 212 |
| 213 // Computer / browser fingerprint. | 213 // Computer / browser fingerprint. |
| 214 optional MachineCharacteristics machine_characteristics = 1; | 214 optional MachineCharacteristics machine_characteristics = 1; |
| 215 | 215 |
| 216 optional Performance performance = 2; | 216 optional Performance performance = 2; |
| 217 | 217 |
| 218 optional UserCharacteristics user_characteristics = 3; | 218 optional UserCharacteristics user_characteristics = 3; |
| 219 | 219 |
| 220 optional TransientState transient_state = 4; | 220 optional TransientState transient_state = 4; |
| 221 | 221 |
| 222 // Metadata associated with data collection. | 222 // Metadata associated with data collection. |
| 223 optional Metadata metadata = 5; | 223 optional Metadata metadata = 5; |
| 224 } | 224 } |
| OLD | NEW |