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

Side by Side Diff: components/sync/core_impl/attachments/proto/attachment_store.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
« no previous file with comments | « no previous file | components/sync/protocol/app_list_specifics.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 attachment_store_pb; 9 package attachment_store_pb;
11 10
12 // Metadata for leveldb attachment store database. 11 // Metadata for leveldb attachment store database.
13 message StoreMetadata { 12 message StoreMetadata {
14 // |schema_version| indicates format in which data is written in attachment 13 // |schema_version| indicates format in which data is written in attachment
15 // store. Needed for upgrade and to prevent newer data from being loaded by 14 // store. Needed for upgrade and to prevent newer data from being loaded by
16 // older code that doesn't understand it. 15 // older code that doesn't understand it.
17 optional int32 schema_version = 1; 16 optional int32 schema_version = 1;
18 } 17 }
(...skipping 10 matching lines...) Expand all
29 28
30 // Component enum mirrors values of AttachmentStore::Component. 29 // Component enum mirrors values of AttachmentStore::Component.
31 enum Component { 30 enum Component {
32 UNKNOWN = 0; 31 UNKNOWN = 0;
33 MODEL_TYPE = 1; 32 MODEL_TYPE = 1;
34 SYNC = 2; 33 SYNC = 2;
35 } 34 }
36 // Set of components that reference this attachment. 35 // Set of components that reference this attachment.
37 repeated Component component = 3; 36 repeated Component component = 3;
38 } 37 }
OLDNEW
« no previous file with comments | « no previous file | components/sync/protocol/app_list_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698