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

Side by Side Diff: chrome/browser/sync/protocol/sync.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 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 // Used for inspecting how long we spent performing operations in different 16 // Used for inspecting how long we spent performing operations in different
14 // backends. All times must be in millis. 17 // backends. All times must be in millis.
15 message ProfilingData { 18 message ProfilingData {
16 optional int64 meta_data_write_time = 1; 19 optional int64 meta_data_write_time = 1;
17 optional int64 file_data_write_time = 2; 20 optional int64 file_data_write_time = 2;
18 optional int64 user_lookup_time = 3; 21 optional int64 user_lookup_time = 3;
19 optional int64 meta_data_read_time = 4; 22 optional int64 meta_data_read_time = 4;
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 // Opaque store ID; if it changes, the contents of the client's cache 429 // Opaque store ID; if it changes, the contents of the client's cache
427 // is meaningless to this server. This happens most typically when 430 // is meaningless to this server. This happens most typically when
428 // you switch from one storage backend instance (say, a test instance) 431 // you switch from one storage backend instance (say, a test instance)
429 // to another (say, the official instance). 432 // to another (say, the official instance).
430 optional string store_birthday = 6; 433 optional string store_birthday = 6;
431 434
432 optional ClientCommand client_command = 7; 435 optional ClientCommand client_command = 7;
433 optional ProfilingData profiling_data = 8; 436 optional ProfilingData profiling_data = 8;
434 }; 437 };
435 438
OLDNEW
« no previous file with comments | « chrome/browser/sync/protocol/preference_specifics.proto ('k') | chrome/browser/sync/protocol/sync_proto.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698