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

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

Issue 11228038: Linux: change protobuf default option to allow building (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/test.proto » ('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";
11 11
12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
14
15 package sync_pb; 12 package sync_pb;
16 13
17 message SyncEnums { 14 message SyncEnums {
18 // These events are sent by |SyncManager| class. Note: In the code they each 15 // These events are sent by |SyncManager| class. Note: In the code they each
19 // of these events have some additional info but we are not sending them to 16 // of these events have some additional info but we are not sending them to
20 // server. 17 // server.
21 enum EventType { 18 enum EventType {
22 AUTH_ERROR = 1; // Auth error. Note this gets generated even during 19 AUTH_ERROR = 1; // Auth error. Note this gets generated even during
23 // successful auth with the error set to none. 20 // successful auth with the error set to none.
24 UPDATED_TOKEN = 2; // Client received an updated token. 21 UPDATED_TOKEN = 2; // Client received an updated token.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 enum DeviceType { 105 enum DeviceType {
109 TYPE_WIN = 1; 106 TYPE_WIN = 1;
110 TYPE_MAC = 2; 107 TYPE_MAC = 2;
111 TYPE_LINUX = 3; 108 TYPE_LINUX = 3;
112 TYPE_CROS = 4; 109 TYPE_CROS = 4;
113 TYPE_OTHER = 5; 110 TYPE_OTHER = 5;
114 TYPE_PHONE = 6; 111 TYPE_PHONE = 6;
115 TYPE_TABLET = 7; 112 TYPE_TABLET = 7;
116 } 113 }
117 } 114 }
OLDNEW
« no previous file with comments | « sync/protocol/sync.proto ('k') | sync/protocol/test.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698