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

Unified Diff: components/sync/driver/fake_sync_service.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/driver/fake_sync_service.h ('k') | components/sync/driver/frontend_data_type_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
« no previous file with comments | « components/sync/driver/fake_sync_service.h ('k') | components/sync/driver/frontend_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698