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

Unified Diff: sync/api/attachments/fake_attachment_service.cc

Issue 247983002: Keep track of which attachments are referenced by which sync entries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix "copy yourself bug". Created 6 years, 8 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/fake_attachment_service.cc
diff --git a/sync/api/attachments/fake_attachment_service.cc b/sync/api/attachments/fake_attachment_service.cc
index 8e9e867f9ada7acde10079892cfde7cf2ff3a298..f6fed46f358a870b908031565e4ceb90a191a4e0 100644
--- a/sync/api/attachments/fake_attachment_service.cc
+++ b/sync/api/attachments/fake_attachment_service.cc
@@ -53,7 +53,8 @@ void FakeAttachmentService::DropAttachments(
callback));
}
-void FakeAttachmentService::OnSyncDataAdd(const SyncData& sync_data) {
+void FakeAttachmentService::StoreAttachments(const AttachmentList& attachment,
+ const StoreCallback& callback) {
DCHECK(CalledOnValidThread());
// TODO(maniscalco): Ensure the linked attachments get persisted in local
// storage and schedule them for upload to the server (bug 356351).

Powered by Google App Engine
This is Rietveld 408576698