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

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

Issue 2830027: Remove extended attributes. The lame broken codepath in the DBS was causing (Closed)
Patch Set: Synced with TOT, resolved conflicts. 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 option optimize_for = LITE_RUNTIME;
10 10
11 package sync_pb; 11 package sync_pb;
12 12
13 // Used to store and send extended attributes, which are arbitrary
14 // key value pairs.
15 message ExtendedAttributes {
16 repeated group ExtendedAttribute = 1 {
17 required string key = 2;
18 required bytes value = 3;
19 }
20 }
21
22 // Used for inspecting how long we spent performing operations in different 13 // Used for inspecting how long we spent performing operations in different
23 // backends. All times must be in millis. 14 // backends. All times must be in millis.
24 message ProfilingData { 15 message ProfilingData {
25 optional int64 meta_data_write_time = 1; 16 optional int64 meta_data_write_time = 1;
26 optional int64 file_data_write_time = 2; 17 optional int64 file_data_write_time = 2;
27 optional int64 user_lookup_time = 3; 18 optional int64 user_lookup_time = 3;
28 optional int64 meta_data_read_time = 4; 19 optional int64 meta_data_read_time = 4;
29 optional int64 file_data_read_time = 5; 20 optional int64 file_data_read_time = 5;
30 optional int64 total_request_time = 6; 21 optional int64 total_request_time = 6;
31 } 22 }
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // element resides. An empty string indicates that the element is the first 164 // element resides. An empty string indicates that the element is the first
174 // element in the parent. This value is used during commits to specify 165 // element in the parent. This value is used during commits to specify
175 // a relative position for a position change. In the context of 166 // a relative position for a position change. In the context of
176 // a GetUpdatesMessage, |position_in_parent| is used instead to 167 // a GetUpdatesMessage, |position_in_parent| is used instead to
177 // communicate position. 168 // communicate position.
178 // Present only in CommitMessage. 169 // Present only in CommitMessage.
179 optional string insert_after_item_id = 16; 170 optional string insert_after_item_id = 16;
180 171
181 // Arbitrary key/value pairs associated with this item. 172 // Arbitrary key/value pairs associated with this item.
182 // Present in both GetUpdatesResponse and CommitMessage. 173 // Present in both GetUpdatesResponse and CommitMessage.
183 optional ExtendedAttributes extended_attributes = 17; 174 // Deprecated.
175 // optional ExtendedAttributes extended_attributes = 17;
184 176
185 // If true, indicates that this item has been (or should be) deleted. 177 // If true, indicates that this item has been (or should be) deleted.
186 // Present in both GetUpdatesResponse and CommitMessage. 178 // Present in both GetUpdatesResponse and CommitMessage.
187 optional bool deleted = 18 [default = false]; 179 optional bool deleted = 18 [default = false];
188 180
189 // A GUID that identifies the the sync client who initially committed 181 // A GUID that identifies the the sync client who initially committed
190 // this entity. This value corresponds to |cache_guid| in CommitMessage. 182 // this entity. This value corresponds to |cache_guid| in CommitMessage.
191 // This field, along with |originator_client_item_id|, can be used to 183 // This field, along with |originator_client_item_id|, can be used to
192 // reunite the original with its official committed version in the case 184 // reunite the original with its official committed version in the case
193 // where a client does not receive or process the commit response for 185 // where a client does not receive or process the commit response for
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 // Opaque store ID; if it changes, the contents of the client's cache 426 // Opaque store ID; if it changes, the contents of the client's cache
435 // is meaningless to this server. This happens most typically when 427 // is meaningless to this server. This happens most typically when
436 // you switch from one storage backend instance (say, a test instance) 428 // you switch from one storage backend instance (say, a test instance)
437 // to another (say, the official instance). 429 // to another (say, the official instance).
438 optional string store_birthday = 6; 430 optional string store_birthday = 6;
439 431
440 optional ClientCommand client_command = 7; 432 optional ClientCommand client_command = 7;
441 optional ProfilingData profiling_data = 8; 433 optional ProfilingData profiling_data = 8;
442 }; 434 };
443 435
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/syncer_util.cc ('k') | chrome/browser/sync/syncable/directory_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698