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