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

Side by Side Diff: components/sync/protocol/data_type_state.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 option retain_unknown_fields = true;
9 8
10 package sync_pb; 9 package sync_pb;
11 10
12 import "sync.proto"; 11 import "sync.proto";
13 12
14 // Sync proto to store data type global metadata in model type storage. 13 // Sync proto to store data type global metadata in model type storage.
15 message DataTypeState { 14 message DataTypeState {
16 // The latest progress markers received from the server. 15 // The latest progress markers received from the server.
17 optional DataTypeProgressMarker progress_marker = 1; 16 optional DataTypeProgressMarker progress_marker = 1;
18 17
19 // A data type context. Sent to the server in every commit or update 18 // A data type context. Sent to the server in every commit or update
20 // request. May be updated by either responses from the server or requests 19 // request. May be updated by either responses from the server or requests
21 // made on the model thread. The interpretation of this value may be 20 // made on the model thread. The interpretation of this value may be
22 // data-type specific. Many data types ignore it. 21 // data-type specific. Many data types ignore it.
23 optional DataTypeContext type_context = 2; 22 optional DataTypeContext type_context = 2;
24 23
25 // This value is set if this type's data should be encrypted on the server. 24 // This value is set if this type's data should be encrypted on the server.
26 // If this key changes, the client will need to re-commit all of its local 25 // If this key changes, the client will need to re-commit all of its local
27 // data to the server using the new encryption key. 26 // data to the server using the new encryption key.
28 optional string encryption_key_name = 3; 27 optional string encryption_key_name = 3;
29 28
30 // This flag is set to true when the first download cycle is complete. The 29 // This flag is set to true when the first download cycle is complete. The
31 // ModelTypeProcessor should not attempt to commit any items until this 30 // ModelTypeProcessor should not attempt to commit any items until this
32 // flag is set. 31 // flag is set.
33 optional bool initial_sync_done = 4; 32 optional bool initial_sync_done = 4;
34 } 33 }
OLDNEW
« no previous file with comments | « components/sync/protocol/client_debug_info.proto ('k') | components/sync/protocol/device_info_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698