| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 167 message Location { | 167 message Location { |
| 168 // Meters above sea level. | 168 // Meters above sea level. |
| 169 optional double altitude = 1; | 169 optional double altitude = 1; |
| 170 // Latitude in degrees. | 170 // Latitude in degrees. |
| 171 optional double latitude = 2; | 171 optional double latitude = 2; |
| 172 // Longitude in degrees. | 172 // Longitude in degrees. |
| 173 optional double longitude = 3; | 173 optional double longitude = 3; |
| 174 // Accuracy in meters. 95% probability of being in this radius of | 174 // Accuracy in meters. 95% probability of being in this radius of |
| 175 // lat / long. | 175 // lat / long. |
| 176 optional float accuracy = 4; | 176 optional double accuracy = 4; |
| 177 // Milliseconds since epoch since measurement. | 177 // Milliseconds since epoch since measurement. |
| 178 optional double time_in_ms = 5; | 178 optional int64 time_in_ms = 5; |
| 179 } | 179 } |
| 180 | 180 |
| 181 // Average force by finger presses. TouchEvent.force | 181 // Average force by finger presses. TouchEvent.force |
| 182 optional float force = 1; | 182 optional float force = 1; |
| 183 // Average finger width. TouchEvent.radiusX | 183 // Average finger width. TouchEvent.radiusX |
| 184 optional float touch_width = 2; | 184 optional float touch_width = 2; |
| 185 // Average finger height. TouchEvent.radiusY | 185 // Average finger height. TouchEvent.radiusY |
| 186 optional float touch_height = 3; | 186 optional float touch_height = 3; |
| 187 // TouchEvent.rotationAngle | 187 // TouchEvent.rotationAngle |
| 188 optional int32 touch_rotation = 4; | 188 optional int32 touch_rotation = 4; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 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 |