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 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 24 matching lines...) Expand all Loading... |
35 // MIGRATION_DONE error previously returned by the | 35 // MIGRATION_DONE error previously returned by the |
36 // server necessitated resynchronization. | 36 // server necessitated resynchronization. |
37 NEW_CLIENT = 9; // The client is in configuration mode because the | 37 NEW_CLIENT = 9; // The client is in configuration mode because the |
38 // user enabled sync for the first time. Not to be | 38 // user enabled sync for the first time. Not to be |
39 // confused with FIRST_UPDATE. | 39 // confused with FIRST_UPDATE. |
40 RECONFIGURATION = 10; // The client is in configuration mode because the | 40 RECONFIGURATION = 10; // The client is in configuration mode because the |
41 // user opted to sync a different set of datatypes. | 41 // user opted to sync a different set of datatypes. |
42 DATATYPE_REFRESH = 11; // A datatype has requested a refresh. This is | 42 DATATYPE_REFRESH = 11; // A datatype has requested a refresh. This is |
43 // typically used when datatype's have custom | 43 // typically used when datatype's have custom |
44 // sync UI, e.g. sessions. | 44 // sync UI, e.g. sessions. |
| 45 RETRY = 13; // A follow-up GU to pick up updates missed by previous GU. |
45 } | 46 } |
46 | 47 |
47 required GetUpdatesSource source = 1; | 48 required GetUpdatesSource source = 1; |
48 | 49 |
49 // True only if notifications were enabled for this GetUpdateMessage. | 50 // True only if notifications were enabled for this GetUpdateMessage. |
50 optional bool notifications_enabled = 2; | 51 optional bool notifications_enabled = 2; |
51 }; | 52 }; |
52 | 53 |
OLD | NEW |