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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
131 | 131 |
132 // Build version string for browser. | 132 // Build version string for browser. |
133 optional string browser_build = 19; | 133 optional string browser_build = 19; |
134 | 134 |
135 // The client-side feature corresponding to this request. | 135 // The client-side feature corresponding to this request. |
136 optional BrowserFeature browser_feature = 20; | 136 optional BrowserFeature browser_feature = 20; |
137 } | 137 } |
138 | 138 |
139 // Contains properties relating to more transient computer / browser state. | 139 // Contains properties relating to more transient computer / browser state. |
140 message TransientState { | 140 message TransientState { |
141 // Corresponds to window.innerWidth / innertHeight | 141 // Corresponds to window.innerWidth / innerHeight |
142 optional Dimension inner_window_size = 1; | 142 optional Dimension inner_window_size = 1; |
143 | 143 |
144 // Corresponds to window.outerWidth / outerHeight | 144 // Corresponds to window.outerWidth / outerHeight |
145 optional Dimension outer_window_size = 2; | 145 optional Dimension outer_window_size = 2; |
146 } | 146 } |
147 | 147 |
148 // Measures computer / network performance. | 148 // Measures computer / network performance. |
149 message Performance { | 149 message Performance { |
150 // Bandwidth in MB/s. network.connection.bandwidth | 150 // Bandwidth in MB/s. network.connection.bandwidth |
151 optional float bandwidth = 1; | 151 optional float bandwidth = 1; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 } |
Ilya Sherman
2013/05/22 23:53:59
nit: Would be nice to split off the fixes in this
| |
OLD | NEW |