Index: components/sync/core_impl/test/test_internal_components_factory.cc |
diff --git a/sync/internal_api/test/test_internal_components_factory.cc b/components/sync/core_impl/test/test_internal_components_factory.cc |
similarity index 82% |
rename from sync/internal_api/test/test_internal_components_factory.cc |
rename to components/sync/core_impl/test/test_internal_components_factory.cc |
index dc00170ef61a6427e35883c3376bde9398e60763..2b4f887363416be39515cd30f0005b6af0f23754 100644 |
--- a/sync/internal_api/test/test_internal_components_factory.cc |
+++ b/components/sync/core_impl/test/test_internal_components_factory.cc |
@@ -2,13 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "sync/internal_api/public/test/test_internal_components_factory.h" |
+#include "components/sync/core/test/test_internal_components_factory.h" |
-#include "sync/sessions/sync_session_context.h" |
-#include "sync/syncable/in_memory_directory_backing_store.h" |
-#include "sync/syncable/on_disk_directory_backing_store.h" |
-#include "sync/syncable/invalid_directory_backing_store.h" |
-#include "sync/test/engine/fake_sync_scheduler.h" |
+#include "components/sync/sessions_impl/sync_session_context.h" |
+#include "components/sync/syncable/in_memory_directory_backing_store.h" |
+#include "components/sync/syncable/invalid_directory_backing_store.h" |
+#include "components/sync/syncable/on_disk_directory_backing_store.h" |
+#include "components/sync/test/engine/fake_sync_scheduler.h" |
namespace syncer { |
@@ -18,10 +18,9 @@ TestInternalComponentsFactory::TestInternalComponentsFactory( |
StorageOption* storage_used) |
: switches_(switches), |
storage_override_(option), |
- storage_used_(storage_used) { |
-} |
+ storage_used_(storage_used) {} |
-TestInternalComponentsFactory::~TestInternalComponentsFactory() { } |
+TestInternalComponentsFactory::~TestInternalComponentsFactory() {} |
std::unique_ptr<SyncScheduler> TestInternalComponentsFactory::BuildScheduler( |
const std::string& name, |
@@ -75,8 +74,8 @@ TestInternalComponentsFactory::BuildDirectoryBackingStore( |
return std::unique_ptr<syncable::DirectoryBackingStore>(); |
} |
-InternalComponentsFactory::Switches |
-TestInternalComponentsFactory::GetSwitches() const { |
+InternalComponentsFactory::Switches TestInternalComponentsFactory::GetSwitches() |
+ const { |
return switches_; |
} |