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

Unified Diff: components/sync/core/internal_components_factory_impl.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/internal_components_factory_impl.cc
diff --git a/sync/internal_api/internal_components_factory_impl.cc b/components/sync/core/internal_components_factory_impl.cc
similarity index 81%
rename from sync/internal_api/internal_components_factory_impl.cc
rename to components/sync/core/internal_components_factory_impl.cc
index 98798eb1274b3d903e81e0063c420a3cd1376218..208f103f6121ac2a194ba8ddac6308ea3b34da3e 100644
--- a/sync/internal_api/internal_components_factory_impl.cc
+++ b/components/sync/core/internal_components_factory_impl.cc
@@ -2,26 +2,26 @@
// 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/internal_components_factory_impl.h"
+#include "components/sync/core/internal_components_factory_impl.h"
#include <string>
#include <vector>
-#include "sync/engine/backoff_delay_provider.h"
-#include "sync/engine/syncer.h"
-#include "sync/engine/sync_scheduler_impl.h"
-#include "sync/sessions/sync_session_context.h"
-#include "sync/syncable/on_disk_directory_backing_store.h"
+#include "components/sync/engine_impl/backoff_delay_provider.h"
+#include "components/sync/engine_impl/sync_scheduler_impl.h"
+#include "components/sync/engine_impl/syncer.h"
+#include "components/sync/sessions_impl/sync_session_context.h"
+#include "components/sync/syncable/on_disk_directory_backing_store.h"
using base::TimeDelta;
namespace syncer {
InternalComponentsFactoryImpl::InternalComponentsFactoryImpl(
- const Switches& switches) : switches_(switches) {
-}
+ const Switches& switches)
+ : switches_(switches) {}
-InternalComponentsFactoryImpl::~InternalComponentsFactoryImpl() { }
+InternalComponentsFactoryImpl::~InternalComponentsFactoryImpl() {}
std::unique_ptr<SyncScheduler> InternalComponentsFactoryImpl::BuildScheduler(
const std::string& name,
@@ -70,8 +70,8 @@ InternalComponentsFactoryImpl::BuildDirectoryBackingStore(
}
}
-InternalComponentsFactory::Switches
-InternalComponentsFactoryImpl::GetSwitches() const {
+InternalComponentsFactory::Switches InternalComponentsFactoryImpl::GetSwitches()
+ const {
return switches_;
}
« no previous file with comments | « components/sync/core/internal_components_factory_impl.h ('k') | components/sync/core/model_type_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698