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

Side by Side Diff: chrome/browser/sync/protocol/nigori_specifics.proto

Issue 2951016: Switched sync protobufs to use "heavy" protobufs. (Closed)
Patch Set: Created 10 years, 5 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 datatype extension for nigori keys. 5 // Sync protocol datatype extension for nigori keys.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 // TODO(akalin): Re-enable this once LITE_RUNTIME supports preserving
10 // unknown fields.
11
12 // option optimize_for = LITE_RUNTIME;
10 13
11 package sync_pb; 14 package sync_pb;
12 15
13 import "encryption.proto"; 16 import "encryption.proto";
14 import "sync.proto"; 17 import "sync.proto";
15 18
16 message NigoriKey { 19 message NigoriKey {
17 optional string name = 1; 20 optional string name = 1;
18 optional string hostname = 2; 21 optional string hostname = 2;
19 optional string username = 3; 22 optional string username = 3;
20 optional string password = 4; 23 optional string password = 4;
21 } 24 }
22 25
23 message NigoriKeyBag { 26 message NigoriKeyBag {
24 repeated NigoriKey key = 2; 27 repeated NigoriKey key = 2;
25 } 28 }
26 29
27 // Properties of nigori sync object. 30 // Properties of nigori sync object.
28 message NigoriSpecifics { 31 message NigoriSpecifics {
29 optional EncryptedData encrypted = 1; 32 optional EncryptedData encrypted = 1;
30 } 33 }
31 34
32 extend EntitySpecifics { 35 extend EntitySpecifics {
33 optional NigoriSpecifics nigori = 47745; 36 optional NigoriSpecifics nigori = 47745;
34 } 37 }
35 38
OLDNEW
« no previous file with comments | « chrome/browser/sync/protocol/extension_specifics.proto ('k') | chrome/browser/sync/protocol/password_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698