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 25 matching lines...) Expand all Loading... |
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 RETRY = 13; // A follow-up GU to pick up updates missed by previous GU. |
| 46 PROGRAMMATIC = 14; // The client is programmatically enabling/disabling |
| 47 // a type, typically for error handling purposes. |
46 } | 48 } |
47 | 49 |
48 required GetUpdatesSource source = 1; | 50 required GetUpdatesSource source = 1; |
49 | 51 |
50 // True only if notifications were enabled for this GetUpdateMessage. | 52 // True only if notifications were enabled for this GetUpdateMessage. |
51 optional bool notifications_enabled = 2; | 53 optional bool notifications_enabled = 2; |
52 }; | 54 }; |
53 | 55 |
OLD | NEW |