| 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 // Sync protocol datatype extension for nigori keys. | 5 // Sync protocol datatype extension for nigori keys. |
| 6 | 6 |
| 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change |
| 8 // any fields in this file. | 8 // any fields in this file. |
| 9 | 9 |
| 10 syntax = "proto2"; | 10 syntax = "proto2"; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 // The UserAgent used when contacting the Chrome Sync server. | 32 // The UserAgent used when contacting the Chrome Sync server. |
| 33 optional string sync_user_agent = 4; | 33 optional string sync_user_agent = 4; |
| 34 | 34 |
| 35 // The Chrome instance's version. Updated (if necessary) on every startup. | 35 // The Chrome instance's version. Updated (if necessary) on every startup. |
| 36 optional string chrome_version = 5; | 36 optional string chrome_version = 5; |
| 37 | 37 |
| 38 // Last time when pre-sync data on the device was saved. The device can be | 38 // Last time when pre-sync data on the device was saved. The device can be |
| 39 // restored to state back to this time. In millisecond since UNIX epoch. | 39 // restored to state back to this time. In millisecond since UNIX epoch. |
| 40 // DEPRECATED in M50. | 40 // DEPRECATED in M50. |
| 41 optional int64 deprecated_backup_timestamp = 6 [deprecated=true]; | 41 optional int64 deprecated_backup_timestamp = 6 [deprecated = true]; |
| 42 | 42 |
| 43 // Device_id that is stable until user signs out. This device_id is used for | 43 // Device_id that is stable until user signs out. This device_id is used for |
| 44 // annotating login scoped refresh token. | 44 // annotating login scoped refresh token. |
| 45 optional string signin_scoped_device_id = 7; | 45 optional string signin_scoped_device_id = 7; |
| 46 | 46 |
| 47 // This field is updated to be the current time periodically, and is also set | 47 // This field is updated to be the current time periodically, and is also set |
| 48 // to the current time whenever another field changes. By examining the | 48 // to the current time whenever another field changes. By examining the |
| 49 // difference between this field and the current time, it should be possible | 49 // difference between this field and the current time, it should be possible |
| 50 // to reason about the inactivity of any device that was syncing at one time. | 50 // to reason about the inactivity of any device that was syncing at one time. |
| 51 optional int64 last_updated_timestamp = 8; | 51 optional int64 last_updated_timestamp = 8; |
| 52 } | 52 } |
| OLD | NEW |