Chromium Code Reviews| Index: sync/protocol/sync.proto |
| diff --git a/sync/protocol/sync.proto b/sync/protocol/sync.proto |
| index 6d0622b211671d11765649b0e840793246fd31d1..146bb55ad94ed4faa5cbce18827d7caad10c0046 100644 |
| --- a/sync/protocol/sync.proto |
| +++ b/sync/protocol/sync.proto |
| @@ -463,6 +463,10 @@ message AuthenticateMessage { |
| required string auth_token = 1; |
| }; |
| +// Opaque data used by the server to track the client with. |
| +message ChipBag { |
| +}; |
| + |
| message ClientToServerMessage { |
| required string share = 1; |
| optional int32 protocol_version = 2 [default = 31]; |
| @@ -491,6 +495,10 @@ message ClientToServerMessage { |
| // This is only sent on the first getupdates of every sync cycle, |
| // as an optimization to save bandwidth. |
| optional DebugInfo debug_info = 10; |
| + |
| + // Per-client state for use by the server. Sent with every message sent to the |
| + // server. |
| + optional ChipBag bag_of_chips = 11; |
| }; |
| message CommitResponse { |
| @@ -678,5 +686,9 @@ message ClientToServerResponse { |
| repeated int32 error_data_type_ids = 5; |
| } |
| optional Error error = 13; |
| + |
| + // The new per-client state for this client. If set, should be persisted and |
| + // sent with any subsequent ClientToServerMessages |
|
tim (not reviewing)
2012/09/11 17:57:20
nit - period.
qsr (NOT THE RIGHT qsr)
2012/09/11 18:48:49
Done.
|
| + optional ChipBag new_bag_of_chips = 14; |
| }; |