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

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

Issue 867793003: Remove dependency on server generated type root folders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added extra comment about existing type root folder. Created 5 years, 10 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
« no previous file with comments | « sync/internal_api/public/base/model_type.h ('k') | sync/syncable/directory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 // The type this context is associated with. 700 // The type this context is associated with.
701 optional int32 data_type_id = 1; 701 optional int32 data_type_id = 1;
702 // The context for the datatype. 702 // The context for the datatype.
703 optional bytes context = 2; 703 optional bytes context = 2;
704 // The version of the context. 704 // The version of the context.
705 optional int64 version = 3; 705 optional int64 version = 3;
706 } 706 }
707 707
708 message ClientToServerMessage { 708 message ClientToServerMessage {
709 required string share = 1; 709 required string share = 1;
710 optional int32 protocol_version = 2 [default = 34]; 710 optional int32 protocol_version = 2 [default = 42];
711 enum Contents { 711 enum Contents {
712 COMMIT = 1; 712 COMMIT = 1;
713 GET_UPDATES = 2; 713 GET_UPDATES = 2;
714 AUTHENTICATE = 3; 714 AUTHENTICATE = 3;
715 CLEAR_DATA = 4; 715 CLEAR_DATA = 4;
716 } 716 }
717 717
718 required Contents message_contents = 3; 718 required Contents message_contents = 3;
719 optional CommitMessage commit = 4; 719 optional CommitMessage commit = 4;
720 optional GetUpdatesMessage get_updates = 5; 720 optional GetUpdatesMessage get_updates = 5;
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 // Currently only meaningful if |error_type| is throttled. If this field 962 // Currently only meaningful if |error_type| is throttled. If this field
963 // is absent then the whole client (all datatypes) is throttled. 963 // is absent then the whole client (all datatypes) is throttled.
964 repeated int32 error_data_type_ids = 5; 964 repeated int32 error_data_type_ids = 5;
965 } 965 }
966 optional Error error = 13; 966 optional Error error = 13;
967 967
968 // The new per-client state for this client. If set, should be persisted and 968 // The new per-client state for this client. If set, should be persisted and
969 // sent with any subsequent ClientToServerMessages. 969 // sent with any subsequent ClientToServerMessages.
970 optional ChipBag new_bag_of_chips = 14; 970 optional ChipBag new_bag_of_chips = 14;
971 }; 971 };
OLDNEW
« no previous file with comments | « sync/internal_api/public/base/model_type.h ('k') | sync/syncable/directory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698