Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: sync/protocol/sync_enums.proto

Issue 10911073: NOT FOR COMMIT: Add DeviceInfo type and ChangeProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix several issues Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/protocol/sync.proto ('k') | sync/protocol/sync_proto.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « sync/protocol/sync.proto ('k') | sync/protocol/sync_proto.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698