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

Unified Diff: components/sync/core_impl/test/test_internal_components_factory.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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/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_;
}
« no previous file with comments | « components/sync/core_impl/test/test_entry_factory.cc ('k') | components/sync/core_impl/test/test_user_share.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698