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

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

Issue 102193004: Checkpointing some Sync Attachment work. Added SyncAttachment and SyncAttachmentId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some DCHECKs and another test case. Created 7 years 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
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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 // is absent then the whole client (all datatypes) is throttled. 886 // is absent then the whole client (all datatypes) is throttled.
887 repeated int32 error_data_type_ids = 5; 887 repeated int32 error_data_type_ids = 5;
888 } 888 }
889 optional Error error = 13; 889 optional Error error = 13;
890 890
891 // The new per-client state for this client. If set, should be persisted and 891 // The new per-client state for this client. If set, should be persisted and
892 // sent with any subsequent ClientToServerMessages. 892 // sent with any subsequent ClientToServerMessages.
893 optional ChipBag new_bag_of_chips = 14; 893 optional ChipBag new_bag_of_chips = 14;
894 }; 894 };
895 895
896 // Identifies an attachment.
897 //
898 // Note, message's definition is in flux and may change. Don't rely on it.
899 message SyncAttachmentId {
Nicolas Zea 2013/12/30 19:10:31 Should we have this in its own proto file? This fi
maniscalco 2013/12/30 22:17:19 Good call. Done. I moved it to attachments.proto
900 // Uniquely identifies the attachment. Two attachments with the same unique_id
901 // are considered equivalent.
902 optional string unique_id = 1;
903 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698