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

Unified Diff: chrome/browser/sync/glue/fake_generic_change_processor.cc

Issue 187303006: Update sync API to support attachments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@attachmentapi
Patch Set: Rename GetAttachments to GetLocalAttachmentsForUpload. Created 6 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
« no previous file with comments | « no previous file | chrome/browser/sync/glue/generic_change_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/fake_generic_change_processor.cc
diff --git a/chrome/browser/sync/glue/fake_generic_change_processor.cc b/chrome/browser/sync/glue/fake_generic_change_processor.cc
index a0b36572d82ed2f157eeefc690823fb4ad0b6d67..f068dc64862d987a7856216d0de034dd7f328edc 100644
--- a/chrome/browser/sync/glue/fake_generic_change_processor.cc
+++ b/chrome/browser/sync/glue/fake_generic_change_processor.cc
@@ -6,16 +6,17 @@
#include "base/location.h"
#include "base/memory/weak_ptr.h"
+#include "sync/api/attachments/fake_attachment_service.h"
#include "sync/api/syncable_service.h"
namespace browser_sync {
FakeGenericChangeProcessor::FakeGenericChangeProcessor()
- : GenericChangeProcessor(
- NULL,
- base::WeakPtr<syncer::SyncableService>(),
- base::WeakPtr<syncer::SyncMergeResult>(),
- NULL),
+ : GenericChangeProcessor(NULL,
+ base::WeakPtr<syncer::SyncableService>(),
+ base::WeakPtr<syncer::SyncMergeResult>(),
+ NULL,
+ syncer::FakeAttachmentService::CreateForTest()),
sync_model_has_user_created_nodes_(true),
sync_model_has_user_created_nodes_success_(true),
crypto_ready_if_necessary_(true) {}
« no previous file with comments | « no previous file | chrome/browser/sync/glue/generic_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698