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

Unified Diff: sync/api/attachments/attachment_id.h

Issue 1035573002: [Sync] Replace AttachmentIdSet with AttachmentIdList in interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: sync/api/attachments/attachment_id.h
diff --git a/sync/api/attachments/attachment_id.h b/sync/api/attachments/attachment_id.h
index 1c53355f8c476acb2fd81267eedd378c7582c9ea..039d38684d9927a14a9d76513e5a76f7ccab4e3d 100644
--- a/sync/api/attachments/attachment_id.h
+++ b/sync/api/attachments/attachment_id.h
@@ -75,6 +75,8 @@ class SYNC_EXPORT AttachmentId {
AttachmentId(sync_pb::AttachmentIdProto* proto);
};
+// All public interfaces use AttachmentIdList. AttachmentIdSet is used in
+// implementations of algorithms where set properties are needed.
typedef std::vector<AttachmentId> AttachmentIdList;
typedef std::set<AttachmentId> AttachmentIdSet;

Powered by Google App Engine
This is Rietveld 408576698