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

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

Issue 10985008: sync: Add DeviceInfo protobuf and supporting code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another missing include Created 8 years, 2 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
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