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

Side by Side Diff: components/sync_driver/fake_generic_change_processor.cc

Issue 436373002: Move non-API code out of sync/api/attachments/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply CR feedback. Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/sync_driver/fake_generic_change_processor.h" 5 #include "components/sync_driver/fake_generic_change_processor.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "sync/api/attachments/attachment_service_impl.h"
10 #include "sync/api/syncable_service.h" 9 #include "sync/api/syncable_service.h"
10 #include "sync/internal_api/public/attachments/attachment_service_impl.h"
11 11
12 namespace sync_driver { 12 namespace sync_driver {
13 13
14 FakeGenericChangeProcessor::FakeGenericChangeProcessor( 14 FakeGenericChangeProcessor::FakeGenericChangeProcessor(
15 SyncApiComponentFactory* sync_factory) 15 SyncApiComponentFactory* sync_factory)
16 : GenericChangeProcessor(NULL, 16 : GenericChangeProcessor(NULL,
17 base::WeakPtr<syncer::SyncableService>(), 17 base::WeakPtr<syncer::SyncableService>(),
18 base::WeakPtr<syncer::SyncMergeResult>(), 18 base::WeakPtr<syncer::SyncMergeResult>(),
19 NULL, 19 NULL,
20 sync_factory), 20 sync_factory),
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 FakeGenericChangeProcessorFactory::CreateGenericChangeProcessor( 74 FakeGenericChangeProcessorFactory::CreateGenericChangeProcessor(
75 syncer::UserShare* user_share, 75 syncer::UserShare* user_share,
76 DataTypeErrorHandler* error_handler, 76 DataTypeErrorHandler* error_handler,
77 const base::WeakPtr<syncer::SyncableService>& local_service, 77 const base::WeakPtr<syncer::SyncableService>& local_service,
78 const base::WeakPtr<syncer::SyncMergeResult>& merge_result, 78 const base::WeakPtr<syncer::SyncMergeResult>& merge_result,
79 SyncApiComponentFactory* sync_factory) { 79 SyncApiComponentFactory* sync_factory) {
80 return processor_.PassAs<GenericChangeProcessor>(); 80 return processor_.PassAs<GenericChangeProcessor>();
81 } 81 }
82 82
83 } // namespace sync_driver 83 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/dom_distiller/core/dom_distiller_store_unittest.cc ('k') | components/sync_driver/generic_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698