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

Side by Side Diff: components/sync/protocol/entity_metadata.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // Sync proto to store entity metadata in model type storage. 11 // Sync proto to store entity metadata in model type storage.
13 message EntityMetadata { 12 message EntityMetadata {
14 // A hash based on the client tag and model type. 13 // A hash based on the client tag and model type.
15 // Used for various map lookups. Should always be available. 14 // Used for various map lookups. Should always be available.
16 // Sent to the server as SyncEntity::client_defined_unique_tag. 15 // Sent to the server as SyncEntity::client_defined_unique_tag.
17 optional string client_tag_hash = 1; 16 optional string client_tag_hash = 1;
18 17
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // entity's specifics value has changed without having to keep specifics in 51 // entity's specifics value has changed without having to keep specifics in
53 // memory. 52 // memory.
54 optional string specifics_hash = 9; 53 optional string specifics_hash = 9;
55 54
56 // A hash of the last specifics known by both the client and server. Used to 55 // A hash of the last specifics known by both the client and server. Used to
57 // detect when local commits and remote updates are just for encryption. This 56 // detect when local commits and remote updates are just for encryption. This
58 // value will be the empty string only in the following cases: the entity is 57 // value will be the empty string only in the following cases: the entity is
59 // in sync with the server, has never been synced, or is deleted. 58 // in sync with the server, has never been synced, or is deleted.
60 optional string base_specifics_hash = 10; 59 optional string base_specifics_hash = 10;
61 } 60 }
OLDNEW
« no previous file with comments | « components/sync/protocol/encryption.proto ('k') | components/sync/protocol/experiments_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698