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

Unified Diff: sync/internal_api/syncapi_internal.h

Issue 393083004: Update Commit and GetUpdatesResponse messages to include attachment ids. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update SyncManagerImpl to detect attachment metadata changes. Created 6 years, 5 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
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/internal_api/syncapi_internal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/syncapi_internal.h
diff --git a/sync/internal_api/syncapi_internal.h b/sync/internal_api/syncapi_internal.h
index 2e7965de5ce21b5897b59532cb4b2bc12e1619f2..acb1631be4989bfc96d9f2648720270a3de876c6 100644
--- a/sync/internal_api/syncapi_internal.h
+++ b/sync/internal_api/syncapi_internal.h
@@ -13,6 +13,7 @@
#include "sync/base/sync_export.h"
namespace sync_pb {
+class AttachmentMetadata;
class EntitySpecifics;
class PasswordSpecificsData;
}
@@ -35,6 +36,11 @@ bool IsNameServerIllegalAfterTrimming(const std::string& name);
bool AreSpecificsEqual(const Cryptographer* cryptographer,
const sync_pb::EntitySpecifics& left,
const sync_pb::EntitySpecifics& right);
+
+// Return true iff |left| and |right| are equal.
+bool AreAttachmentMetadataEqual(const sync_pb::AttachmentMetadata& left,
+ const sync_pb::AttachmentMetadata& right);
+
} // namespace syncer
#endif // SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/internal_api/syncapi_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698