| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 optional int64 utc_offset_ms = 6; | 81 optional int64 utc_offset_ms = 6; |
| 82 | 82 |
| 83 // IETF-formatted language tag. e.g. "en", "en-US", "es-419", etc. | 83 // IETF-formatted language tag. e.g. "en", "en-US", "es-419", etc. |
| 84 // http://en.wikipedia.org/wiki/IETF_language_tag | 84 // http://en.wikipedia.org/wiki/IETF_language_tag |
| 85 optional string browser_language = 7; | 85 optional string browser_language = 7; |
| 86 | 86 |
| 87 // User-requested language code of viewed sites. Languages in | 87 // User-requested language code of viewed sites. Languages in |
| 88 // accept-languages. | 88 // accept-languages. |
| 89 repeated string requested_language = 8; | 89 repeated string requested_language = 8; |
| 90 | 90 |
| 91 // Default charset of the browser. (e.g. ISO-8859-1, obtained from | 91 // Default charset of the browser. (e.g. ISO-8859-1) |
| 92 // document.defaultCharset) | |
| 93 optional string charset = 9; | 92 optional string charset = 9; |
| 94 | 93 |
| 95 // The number of physical screens. | 94 // The number of physical screens. |
| 96 optional int32 screen_count = 10; | 95 optional int32 screen_count = 10; |
| 97 | 96 |
| 98 // Information about the user's monitor's physical screen size. | 97 // Information about the user's monitor's physical screen size. |
| 99 // (e.g. 1024 x 768) | 98 // (e.g. 1024 x 768) |
| 100 optional Dimension screen_size = 11; | 99 optional Dimension screen_size = 11; |
| 101 | 100 |
| 102 // The color depth of the user's screen (obtained from screen.colorDepth | 101 // The color depth of the user's screen (obtained from screen.colorDepth |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 | 206 |
| 208 optional Performance performance = 2; | 207 optional Performance performance = 2; |
| 209 | 208 |
| 210 optional UserCharacteristics user_characteristics = 3; | 209 optional UserCharacteristics user_characteristics = 3; |
| 211 | 210 |
| 212 optional TransientState transient_state = 4; | 211 optional TransientState transient_state = 4; |
| 213 | 212 |
| 214 // Metadata associated with data collection. | 213 // Metadata associated with data collection. |
| 215 optional Metadata metadata = 5; | 214 optional Metadata metadata = 5; |
| 216 } | 215 } |
| OLD | NEW |