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

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

Issue 6931018: Initial implementation of "Synced Bookmarks" folder. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file. 8 // any fields in this file.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // the values of requested_types and from_timestamp, using this instead. 380 // the values of requested_types and from_timestamp, using this instead.
381 repeated DataTypeProgressMarker from_progress_marker = 6; 381 repeated DataTypeProgressMarker from_progress_marker = 6;
382 382
383 // Indicates whether the response should be sent in chunks. This may be 383 // Indicates whether the response should be sent in chunks. This may be
384 // needed for devices with limited memory resources. If true, the response 384 // needed for devices with limited memory resources. If true, the response
385 // will include one or more ClientToServerResponses, with the frist one 385 // will include one or more ClientToServerResponses, with the frist one
386 // containing GetUpdatesMetadataResponse, and the remaining ones, if any, 386 // containing GetUpdatesMetadataResponse, and the remaining ones, if any,
387 // containing GetUpdatesStreamingResponse. These ClientToServerResponses are 387 // containing GetUpdatesStreamingResponse. These ClientToServerResponses are
388 // delimited by a length prefix, which is encoded as a varint. 388 // delimited by a length prefix, which is encoded as a varint.
389 optional bool streaming = 7 [default = false]; 389 optional bool streaming = 7 [default = false];
390
391 // Whether to request the syncable_bookmarks permanent item.
392 optional bool include_syncable_bookmarks = 1000 [default = false];
390 }; 393 };
391 394
392 message AuthenticateMessage { 395 message AuthenticateMessage {
393 required string auth_token = 1; 396 required string auth_token = 1;
394 }; 397 };
395 398
396 // This message is sent to the server to clear data. An asynchronous 399 // This message is sent to the server to clear data. An asynchronous
397 // response is returned to the client indicating that the server has received 400 // response is returned to the client indicating that the server has received
398 // the request and has begun to clear data. 401 // the request and has begun to clear data.
399 message ClearUserDataMessage { 402 message ClearUserDataMessage {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 optional string store_birthday = 6; 624 optional string store_birthday = 6;
622 625
623 optional ClientCommand client_command = 7; 626 optional ClientCommand client_command = 7;
624 optional ProfilingData profiling_data = 8; 627 optional ProfilingData profiling_data = 8;
625 628
626 // The data types whose storage has been migrated. Present when the value of 629 // The data types whose storage has been migrated. Present when the value of
627 // error_code is MIGRATION_DONE. 630 // error_code is MIGRATION_DONE.
628 repeated int32 migrated_data_type_id = 12; 631 repeated int32 migrated_data_type_id = 12;
629 }; 632 };
630 633
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698