| OLD | NEW |
| 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 // 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 |
| 401 // the request and has begun to clear data. | 401 // the request and has begun to clear data. |
| 402 message ClearUserDataMessage { | 402 message ClearUserDataMessage { |
| 403 } | 403 } |
| 404 | 404 |
| 405 message ClearUserDataResponse { | 405 message ClearUserDataResponse { |
| 406 } | 406 } |
| 407 | 407 |
| 408 message ClientToServerMessage { | 408 message ClientToServerMessage { |
| 409 required string share = 1; | 409 required string share = 1; |
| 410 optional int32 protocol_version = 2 [default = 28]; | 410 optional int32 protocol_version = 2 [default = 29]; |
| 411 enum Contents { | 411 enum Contents { |
| 412 COMMIT = 1; | 412 COMMIT = 1; |
| 413 GET_UPDATES = 2; | 413 GET_UPDATES = 2; |
| 414 AUTHENTICATE = 3; | 414 AUTHENTICATE = 3; |
| 415 CLEAR_DATA = 4; | 415 CLEAR_DATA = 4; |
| 416 } | 416 } |
| 417 | 417 |
| 418 required Contents message_contents = 3; | 418 required Contents message_contents = 3; |
| 419 optional CommitMessage commit = 4; | 419 optional CommitMessage commit = 4; |
| 420 optional GetUpdatesMessage get_updates = 5; | 420 optional GetUpdatesMessage get_updates = 5; |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 optional string store_birthday = 6; | 624 optional string store_birthday = 6; |
| 625 | 625 |
| 626 optional ClientCommand client_command = 7; | 626 optional ClientCommand client_command = 7; |
| 627 optional ProfilingData profiling_data = 8; | 627 optional ProfilingData profiling_data = 8; |
| 628 | 628 |
| 629 // 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 |
| 630 // error_code is MIGRATION_DONE. | 630 // error_code is MIGRATION_DONE. |
| 631 repeated int32 migrated_data_type_id = 12; | 631 repeated int32 migrated_data_type_id = 12; |
| 632 }; | 632 }; |
| 633 | 633 |
| OLD | NEW |