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