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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 UPGRADE_CLIENT = 0; // Upgrade the client to latest version. | 89 UPGRADE_CLIENT = 0; // Upgrade the client to latest version. |
90 CLEAR_USER_DATA_AND_RESYNC = 1; // Clear user data from dashboard and | 90 CLEAR_USER_DATA_AND_RESYNC = 1; // Clear user data from dashboard and |
91 // setup sync again. | 91 // setup sync again. |
92 ENABLE_SYNC_ON_ACCOUNT = 2; // The administrator needs to enable sync | 92 ENABLE_SYNC_ON_ACCOUNT = 2; // The administrator needs to enable sync |
93 // on the account. | 93 // on the account. |
94 STOP_AND_RESTART_SYNC = 3; // Stop sync and set up sync again. | 94 STOP_AND_RESTART_SYNC = 3; // Stop sync and set up sync again. |
95 DISABLE_SYNC_ON_CLIENT = 4; // Wipe the client of all sync data and | 95 DISABLE_SYNC_ON_CLIENT = 4; // Wipe the client of all sync data and |
96 // stop syncing. | 96 // stop syncing. |
97 UNKNOWN_ACTION = 5; // This is the default. | 97 UNKNOWN_ACTION = 5; // This is the default. |
98 } | 98 } |
| 99 |
| 100 enum DeviceType { |
| 101 TYPE_WIN = 1; |
| 102 TYPE_MAC = 2; |
| 103 TYPE_LINUX = 3; |
| 104 TYPE_CROS = 4; |
| 105 TYPE_OTHER = 5; |
| 106 TYPE_PHONE = 6; |
| 107 TYPE_TABLET = 7; |
| 108 } |
99 } | 109 } |
OLD | NEW |