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.h

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
Index: components/sync/core/internal_components_factory_impl.h
diff --git a/components/sync/core/internal_components_factory_impl.h b/components/sync/core/internal_components_factory_impl.h
deleted file mode 100644
index 9836220b5c5f215ce4b0868a88cc62f025315bee..0000000000000000000000000000000000000000
--- a/components/sync/core/internal_components_factory_impl.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-// An InternalComponentsFactory implementation designed for real production /
-// normal use.
-
-#ifndef COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
-#define COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
-
-#include <memory>
-#include <string>
-#include <vector>
-
-#include "base/macros.h"
-#include "components/sync/core/internal_components_factory.h"
-
-namespace syncer {
-
-class InternalComponentsFactoryImpl : public InternalComponentsFactory {
- public:
- explicit InternalComponentsFactoryImpl(const Switches& switches);
- ~InternalComponentsFactoryImpl() override;
-
- std::unique_ptr<SyncScheduler> BuildScheduler(
- const std::string& name,
- SyncCycleContext* context,
- CancelationSignal* cancelation_signal) override;
-
- std::unique_ptr<SyncCycleContext> BuildContext(
- ServerConnectionManager* connection_manager,
- syncable::Directory* directory,
- ExtensionsActivity* extensions_activity,
- const std::vector<SyncEngineEventListener*>& listeners,
- DebugInfoGetter* debug_info_getter,
- ModelTypeRegistry* model_type_registry,
- const std::string& invalidator_client_id) override;
-
- std::unique_ptr<syncable::DirectoryBackingStore> BuildDirectoryBackingStore(
- StorageOption storage,
- const std::string& dir_name,
- const base::FilePath& backing_filepath) override;
-
- Switches GetSwitches() const override;
-
- private:
- const Switches switches_;
- DISALLOW_COPY_AND_ASSIGN(InternalComponentsFactoryImpl);
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_CORE_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
« no previous file with comments | « components/sync/core/internal_components_factory.h ('k') | components/sync/core/internal_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698