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

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

Issue 2291053002: Cleanup: remove non-standard retain_unknown_fields from .proto files (Closed)
Patch Set: Created 4 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
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; 12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
14 13
15 package sync_pb; 14 package sync_pb;
16 15
17 message SyncEnums { 16 message SyncEnums {
18 // These events are sent by the DebugInfo class for singleton events. 17 // These events are sent by the DebugInfo class for singleton events.
19 enum SingletonDebugEventType { 18 enum SingletonDebugEventType {
20 CONNECTION_STATUS_CHANGE = 1; // Connection status change. Note this 19 CONNECTION_STATUS_CHANGE = 1; // Connection status change. Note this
21 // gets generated even during a successful 20 // gets generated even during a successful
22 // connection. 21 // connection.
23 UPDATED_TOKEN = 2; // Client received an updated token. 22 UPDATED_TOKEN = 2; // Client received an updated token.
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // user opted to sync a different set of datatypes. 157 // user opted to sync a different set of datatypes.
159 GU_TRIGGER = 12; // The client is in 'normal' mode. It may have several 158 GU_TRIGGER = 12; // The client is in 'normal' mode. It may have several
160 // reasons for requesting an update. See the per-type 159 // reasons for requesting an update. See the per-type
161 // GetUpdateTriggers message for more details. 160 // GetUpdateTriggers message for more details.
162 RETRY = 13; // A retry GU to pick up updates missed by last GU due to 161 RETRY = 13; // A retry GU to pick up updates missed by last GU due to
163 // replication delay, missing hints, etc. 162 // replication delay, missing hints, etc.
164 PROGRAMMATIC = 14; // A GU to programmatically enable/disable a 163 PROGRAMMATIC = 14; // A GU to programmatically enable/disable a
165 // datatype, often due to error handling. 164 // datatype, often due to error handling.
166 } 165 }
167 } 166 }
OLDNEW
« no previous file with comments | « components/sync/protocol/sync.proto ('k') | components/sync/protocol/synced_notification_app_info_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698