OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
8 option retain_unknown_fields = true; | 8 option retain_unknown_fields = true; |
9 | 9 |
10 package sync_pb; | 10 package sync_pb; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 // Entity creation and modification timestamps. | 45 // Entity creation and modification timestamps. |
46 // Assigned by the client and synced by the server, though the server usually | 46 // Assigned by the client and synced by the server, though the server usually |
47 // doesn't bother to inspect their values. | 47 // doesn't bother to inspect their values. |
48 optional int64 creation_time = 7; | 48 optional int64 creation_time = 7; |
49 optional int64 modification_time = 8; | 49 optional int64 modification_time = 8; |
50 | 50 |
51 // A hash of the current entity specifics value. Used to detect whether | 51 // A hash of the current entity specifics value. Used to detect whether |
52 // entity's specifics value has changed without having to keep specifics in | 52 // entity's specifics value has changed without having to keep specifics in |
53 // memory. | 53 // memory. |
54 optional string specifics_hash = 9; | 54 optional string specifics_hash = 9; |
| 55 |
| 56 // A hash of the last specifics known by both the client and server. Used to |
| 57 // detect when local commits and remote updates are just for encryption. This |
| 58 // value will be the empty string only in the following cases: the entity is |
| 59 // in sync with the server, has never been synced, or is deleted. |
| 60 optional string base_specifics_hash = 10; |
55 } | 61 } |
OLD | NEW |