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

Unified Diff: components/sync/driver/glue/sync_backend_host_mock.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
Index: components/sync/driver/glue/sync_backend_host_mock.cc
diff --git a/components/sync_driver/glue/sync_backend_host_mock.cc b/components/sync/driver/glue/sync_backend_host_mock.cc
similarity index 91%
rename from components/sync_driver/glue/sync_backend_host_mock.cc
rename to components/sync/driver/glue/sync_backend_host_mock.cc
index 613f4fbd3c87b657c79b28073ee23e1775121d83..5264dfdcf5595e922b9c99a7a640284a96f67c21 100644
--- a/components/sync_driver/glue/sync_backend_host_mock.cc
+++ b/components/sync/driver/glue/sync_backend_host_mock.cc
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/sync_driver/glue/sync_backend_host_mock.h"
+#include "components/sync/driver/glue/sync_backend_host_mock.h"
#include "components/sync/core/activation_context.h"
-#include "components/sync_driver/sync_frontend.h"
+#include "components/sync/driver/sync_frontend.h"
namespace browser_sync {
@@ -33,8 +33,7 @@ void SyncBackendHostMock::Initialize(
saved_nigori_state) {
frontend->OnBackendInitialized(
syncer::WeakHandle<syncer::JsBackend>(),
- syncer::WeakHandle<syncer::DataTypeDebugInfoListener>(),
- kTestCacheGuid,
+ syncer::WeakHandle<syncer::DataTypeDebugInfoListener>(), kTestCacheGuid,
!fail_initial_download_);
}
@@ -45,9 +44,8 @@ void SyncBackendHostMock::UpdateCredentials(
void SyncBackendHostMock::StartSyncingWithServer() {}
-void SyncBackendHostMock::SetEncryptionPassphrase(
- const std::string& passphrase,
- bool is_explicit) {}
+void SyncBackendHostMock::SetEncryptionPassphrase(const std::string& passphrase,
+ bool is_explicit) {}
bool SyncBackendHostMock::SetDecryptionPassphrase(
const std::string& passphrase) {
@@ -96,7 +94,7 @@ SyncBackendHost::Status SyncBackendHostMock::GetDetailedStatus() {
}
syncer::sessions::SyncSessionSnapshot
- SyncBackendHostMock::GetLastSessionSnapshot() const {
+SyncBackendHostMock::GetLastSessionSnapshot() const {
return syncer::sessions::SyncSessionSnapshot();
}
@@ -143,7 +141,7 @@ void SyncBackendHostMock::DisableDirectoryTypeDebugInfoForwarding() {}
void SyncBackendHostMock::GetAllNodesForTypes(
syncer::ModelTypeSet types,
base::Callback<void(const std::vector<syncer::ModelType>& type,
- ScopedVector<base::ListValue>) > callback) {}
+ ScopedVector<base::ListValue>)> callback) {}
void SyncBackendHostMock::set_fail_initial_download(bool should_fail) {
fail_initial_download_ = should_fail;
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_mock.h ('k') | components/sync/driver/glue/sync_backend_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698