| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 repeated DataTypeProgressMarker from_progress_marker = 6; | 398 repeated DataTypeProgressMarker from_progress_marker = 6; |
| 399 | 399 |
| 400 // Indicates whether the response should be sent in chunks. This may be | 400 // Indicates whether the response should be sent in chunks. This may be |
| 401 // needed for devices with limited memory resources. If true, the response | 401 // needed for devices with limited memory resources. If true, the response |
| 402 // will include one or more ClientToServerResponses, with the frist one | 402 // will include one or more ClientToServerResponses, with the frist one |
| 403 // containing GetUpdatesMetadataResponse, and the remaining ones, if any, | 403 // containing GetUpdatesMetadataResponse, and the remaining ones, if any, |
| 404 // containing GetUpdatesStreamingResponse. These ClientToServerResponses are | 404 // containing GetUpdatesStreamingResponse. These ClientToServerResponses are |
| 405 // delimited by a length prefix, which is encoded as a varint. | 405 // delimited by a length prefix, which is encoded as a varint. |
| 406 optional bool streaming = 7 [default = false]; | 406 optional bool streaming = 7 [default = false]; |
| 407 | 407 |
| 408 // Whether to request the syncable_bookmarks permanent item. | 408 // Whether to create the mobile bookmarks folder if it's not |
| 409 optional bool include_syncable_bookmarks = 1000 [default = false]; | 409 // already created. Should be set to true only by mobile clients. |
| 410 optional bool create_mobile_bookmarks_folder = 1000 [default = false]; |
| 410 }; | 411 }; |
| 411 | 412 |
| 412 message AuthenticateMessage { | 413 message AuthenticateMessage { |
| 413 required string auth_token = 1; | 414 required string auth_token = 1; |
| 414 }; | 415 }; |
| 415 | 416 |
| 416 // This message is sent to the server to clear data. An asynchronous | 417 // This message is sent to the server to clear data. An asynchronous |
| 417 // response is returned to the client indicating that the server has received | 418 // response is returned to the client indicating that the server has received |
| 418 // the request and has begun to clear data. | 419 // the request and has begun to clear data. |
| 419 message ClearUserDataMessage { | 420 message ClearUserDataMessage { |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 optional string store_birthday = 6; | 638 optional string store_birthday = 6; |
| 638 | 639 |
| 639 optional ClientCommand client_command = 7; | 640 optional ClientCommand client_command = 7; |
| 640 optional ProfilingData profiling_data = 8; | 641 optional ProfilingData profiling_data = 8; |
| 641 | 642 |
| 642 // The data types whose storage has been migrated. Present when the value of | 643 // The data types whose storage has been migrated. Present when the value of |
| 643 // error_code is MIGRATION_DONE. | 644 // error_code is MIGRATION_DONE. |
| 644 repeated int32 migrated_data_type_id = 12; | 645 repeated int32 migrated_data_type_id = 12; |
| 645 }; | 646 }; |
| 646 | 647 |
| OLD | NEW |