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

Side by Side Diff: components/sync/model/fake_syncable_service.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/api/fake_syncable_service.h" 5 #include "components/sync/model/fake_syncable_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "components/sync/api/sync_error_factory.h" 10 #include "components/sync/model/sync_error_factory.h"
11 11
12 namespace syncer { 12 namespace syncer {
13 13
14 FakeSyncableService::FakeSyncableService() 14 FakeSyncableService::FakeSyncableService()
15 : syncing_(false), type_(UNSPECIFIED) {} 15 : syncing_(false), type_(UNSPECIFIED) {}
16 16
17 FakeSyncableService::~FakeSyncableService() {} 17 FakeSyncableService::~FakeSyncableService() {}
18 18
19 void FakeSyncableService::set_merge_data_and_start_syncing_error( 19 void FakeSyncableService::set_merge_data_and_start_syncing_error(
20 const SyncError& error) { 20 const SyncError& error) {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 return attachment_store_ ? attachment_store_->CreateAttachmentStoreForSync() 76 return attachment_store_ ? attachment_store_->CreateAttachmentStoreForSync()
77 : std::unique_ptr<AttachmentStoreForSync>(); 77 : std::unique_ptr<AttachmentStoreForSync>();
78 } 78 }
79 79
80 void FakeSyncableService::SetAttachmentService( 80 void FakeSyncableService::SetAttachmentService(
81 std::unique_ptr<AttachmentService> attachment_service) { 81 std::unique_ptr<AttachmentService> attachment_service) {
82 attachment_service_ = std::move(attachment_service); 82 attachment_service_ = std::move(attachment_service);
83 } 83 }
84 84
85 } // namespace syncer 85 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/model/fake_syncable_service.h ('k') | components/sync/model/local_change_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698