Index: components/sync/driver/fake_sync_service.cc |
diff --git a/components/sync_driver/fake_sync_service.cc b/components/sync/driver/fake_sync_service.cc |
similarity index 93% |
rename from components/sync_driver/fake_sync_service.cc |
rename to components/sync/driver/fake_sync_service.cc |
index 6b990747ca13cdafbaf5c82dbb3ea7bdc5865022..fd67df1d70d312b6ab42b149165664710c7ad090 100644 |
--- a/components/sync_driver/fake_sync_service.cc |
+++ b/components/sync/driver/fake_sync_service.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "components/sync_driver/fake_sync_service.h" |
+#include "components/sync/driver/fake_sync_service.h" |
#include "base/memory/ptr_util.h" |
#include "base/values.h" |
@@ -16,8 +16,7 @@ FakeSyncService::FakeSyncService() |
: error_(GoogleServiceAuthError::NONE), |
user_share_(base::WrapUnique(new syncer::UserShare())) {} |
-FakeSyncService::~FakeSyncService() { |
-} |
+FakeSyncService::~FakeSyncService() {} |
bool FakeSyncService::IsFirstSetupComplete() const { |
return false; |
@@ -41,11 +40,9 @@ SyncClient* FakeSyncService::GetSyncClient() const { |
return nullptr; |
} |
-void FakeSyncService::AddObserver(SyncServiceObserver* observer) { |
-} |
+void FakeSyncService::AddObserver(SyncServiceObserver* observer) {} |
-void FakeSyncService::RemoveObserver(SyncServiceObserver* observer) { |
-} |
+void FakeSyncService::RemoveObserver(SyncServiceObserver* observer) {} |
bool FakeSyncService::HasObserver(const SyncServiceObserver* observer) const { |
return false; |
@@ -55,23 +52,19 @@ bool FakeSyncService::CanSyncStart() const { |
return false; |
} |
-void FakeSyncService::OnDataTypeRequestsSyncStartup(syncer::ModelType type) { |
-} |
+void FakeSyncService::OnDataTypeRequestsSyncStartup(syncer::ModelType type) {} |
void FakeSyncService::RequestStop( |
- sync_driver::SyncService::SyncStopDataFate data_fate) { |
-} |
+ sync_driver::SyncService::SyncStopDataFate data_fate) {} |
-void FakeSyncService::RequestStart() { |
-} |
+void FakeSyncService::RequestStart() {} |
syncer::ModelTypeSet FakeSyncService::GetPreferredDataTypes() const { |
return syncer::ModelTypeSet(); |
} |
void FakeSyncService::OnUserChoseDatatypes(bool sync_everything, |
- syncer::ModelTypeSet chosen_types) { |
-} |
+ syncer::ModelTypeSet chosen_types) {} |
void FakeSyncService::SetFirstSetupComplete() {} |
@@ -120,16 +113,14 @@ bool FakeSyncService::IsUsingSecondaryPassphrase() const { |
return false; |
} |
-void FakeSyncService::EnableEncryptEverything() { |
-} |
+void FakeSyncService::EnableEncryptEverything() {} |
bool FakeSyncService::IsEncryptEverythingEnabled() const { |
return false; |
} |
void FakeSyncService::SetEncryptionPassphrase(const std::string& passphrase, |
- PassphraseType type) { |
-} |
+ PassphraseType type) {} |
bool FakeSyncService::SetDecryptionPassphrase(const std::string& passphrase) { |
return false; |
@@ -149,8 +140,7 @@ LocalDeviceInfoProvider* FakeSyncService::GetLocalDeviceInfoProvider() const { |
} |
void FakeSyncService::RegisterDataTypeController( |
- sync_driver::DataTypeController* data_type_controller) { |
-} |
+ sync_driver::DataTypeController* data_type_controller) {} |
void FakeSyncService::ReenableDatatype(syncer::ModelType type) {} |