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

Side by Side Diff: components/sync/driver/fake_generic_change_processor.cc

Issue 2399953002: [Sync] Move attachments code out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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
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 <utility> 7 #include <utility>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "components/sync/api/syncable_service.h" 11 #include "components/sync/api/syncable_service.h"
12 #include "components/sync/core/attachments/attachment_service_impl.h"
13 12
14 namespace syncer { 13 namespace syncer {
15 14
16 FakeGenericChangeProcessor::FakeGenericChangeProcessor(ModelType type, 15 FakeGenericChangeProcessor::FakeGenericChangeProcessor(ModelType type,
17 SyncClient* sync_client) 16 SyncClient* sync_client)
18 : GenericChangeProcessor(type, 17 : GenericChangeProcessor(type,
19 NULL, 18 NULL,
20 base::WeakPtr<SyncableService>(), 19 base::WeakPtr<SyncableService>(),
21 base::WeakPtr<SyncMergeResult>(), 20 base::WeakPtr<SyncMergeResult>(),
22 NULL, 21 NULL,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ModelType type, 75 ModelType type,
77 UserShare* user_share, 76 UserShare* user_share,
78 std::unique_ptr<DataTypeErrorHandler> error_handler, 77 std::unique_ptr<DataTypeErrorHandler> error_handler,
79 const base::WeakPtr<SyncableService>& local_service, 78 const base::WeakPtr<SyncableService>& local_service,
80 const base::WeakPtr<SyncMergeResult>& merge_result, 79 const base::WeakPtr<SyncMergeResult>& merge_result,
81 SyncClient* sync_client) { 80 SyncClient* sync_client) {
82 return std::move(processor_); 81 return std::move(processor_);
83 } 82 }
84 83
85 } // namespace syncer 84 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/device_info/device_info_sync_service_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