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 for communication between sync client and server. | 5 // Sync protocol for communication between sync client and server. |
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 NEW_CLIENT = 9; // The client is in configuration mode because the | 150 NEW_CLIENT = 9; // The client is in configuration mode because the |
151 // user enabled sync for the first time. Not to be | 151 // user enabled sync for the first time. Not to be |
152 // confused with FIRST_UPDATE. | 152 // confused with FIRST_UPDATE. |
153 RECONFIGURATION = 10; // The client is in configuration mode because the | 153 RECONFIGURATION = 10; // The client is in configuration mode because the |
154 // user opted to sync a different set of datatypes. | 154 // user opted to sync a different set of datatypes. |
155 GU_TRIGGER = 12; // The client is in 'normal' mode. It may have several | 155 GU_TRIGGER = 12; // The client is in 'normal' mode. It may have several |
156 // reasons for requesting an update. See the per-type | 156 // reasons for requesting an update. See the per-type |
157 // GetUpdateTriggers message for more details. | 157 // GetUpdateTriggers message for more details. |
158 RETRY = 13; // A retry GU to pick up updates missed by last GU due to | 158 RETRY = 13; // A retry GU to pick up updates missed by last GU due to |
159 // replication delay, missing hints, etc. | 159 // replication delay, missing hints, etc. |
| 160 PROGRAMMATIC = 14; // A GU to programmatically enable/disable a |
| 161 // datatype, often due to error handling. |
160 } | 162 } |
161 } | 163 } |
OLD | NEW |