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

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: Pull in upstream changes. 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
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..1efb442c66df97eda54355203f4956b3dc00a1d0 100644
--- a/chrome/browser/sync/glue/fake_generic_change_processor.cc
+++ b/chrome/browser/sync/glue/fake_generic_change_processor.cc
@@ -6,16 +6,20 @@
#include "base/location.h"
#include "base/memory/weak_ptr.h"
+#include "sync/api/attachments/attachment_service.h"
+#include "sync/api/attachments/attachment_store.h"
+#include "sync/api/attachments/fake_attachment_service.h"
+#include "sync/api/attachments/fake_attachment_store.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) {}

Powered by Google App Engine
This is Rietveld 408576698