| 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;
|
|
|