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

Unified Diff: components/sync/engine/engine_components_factory_impl.cc

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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/engine/engine_components_factory_impl.h ('k') | components/sync/engine/engine_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/engine_components_factory_impl.cc
diff --git a/components/sync/core/internal_components_factory_impl.cc b/components/sync/engine/engine_components_factory_impl.cc
similarity index 82%
rename from components/sync/core/internal_components_factory_impl.cc
rename to components/sync/engine/engine_components_factory_impl.cc
index 2fc73a41a87b27ff15348595dd700e9ffe7d4d66..73c7a551f48132d2bc4bae63c3dddb3690ebe333 100644
--- a/components/sync/core/internal_components_factory_impl.cc
+++ b/components/sync/engine/engine_components_factory_impl.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/core/internal_components_factory_impl.h"
+#include "components/sync/engine/engine_components_factory_impl.h"
#include "components/sync/engine_impl/backoff_delay_provider.h"
#include "components/sync/engine_impl/cycle/sync_cycle_context.h"
@@ -14,13 +14,13 @@ using base::TimeDelta;
namespace syncer {
-InternalComponentsFactoryImpl::InternalComponentsFactoryImpl(
+EngineComponentsFactoryImpl::EngineComponentsFactoryImpl(
const Switches& switches)
: switches_(switches) {}
-InternalComponentsFactoryImpl::~InternalComponentsFactoryImpl() {}
+EngineComponentsFactoryImpl::~EngineComponentsFactoryImpl() {}
-std::unique_ptr<SyncScheduler> InternalComponentsFactoryImpl::BuildScheduler(
+std::unique_ptr<SyncScheduler> EngineComponentsFactoryImpl::BuildScheduler(
const std::string& name,
SyncCycleContext* context,
CancelationSignal* cancelation_signal) {
@@ -34,7 +34,7 @@ std::unique_ptr<SyncScheduler> InternalComponentsFactoryImpl::BuildScheduler(
name, delay.release(), context, new Syncer(cancelation_signal)));
}
-std::unique_ptr<SyncCycleContext> InternalComponentsFactoryImpl::BuildContext(
+std::unique_ptr<SyncCycleContext> EngineComponentsFactoryImpl::BuildContext(
ServerConnectionManager* connection_manager,
syncable::Directory* directory,
ExtensionsActivity* extensions_activity,
@@ -52,7 +52,7 @@ std::unique_ptr<SyncCycleContext> InternalComponentsFactoryImpl::BuildContext(
}
std::unique_ptr<syncable::DirectoryBackingStore>
-InternalComponentsFactoryImpl::BuildDirectoryBackingStore(
+EngineComponentsFactoryImpl::BuildDirectoryBackingStore(
StorageOption storage,
const std::string& dir_name,
const base::FilePath& backing_filepath) {
@@ -65,7 +65,7 @@ InternalComponentsFactoryImpl::BuildDirectoryBackingStore(
}
}
-InternalComponentsFactory::Switches InternalComponentsFactoryImpl::GetSwitches()
+EngineComponentsFactory::Switches EngineComponentsFactoryImpl::GetSwitches()
const {
return switches_;
}
« no previous file with comments | « components/sync/engine/engine_components_factory_impl.h ('k') | components/sync/engine/engine_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698