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

Unified Diff: sync/internal_api/public/internal_components_factory_impl.h

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: sync/internal_api/public/internal_components_factory_impl.h
diff --git a/sync/internal_api/public/internal_components_factory_impl.h b/sync/internal_api/public/internal_components_factory_impl.h
deleted file mode 100644
index 06365c0ab930d3f4cb069a22cbfe736f49d124e3..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/internal_components_factory_impl.h
+++ /dev/null
@@ -1,54 +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 SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
-#define SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
-
-#include <string>
-#include <vector>
-
-#include "base/macros.h"
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/internal_components_factory.h"
-
-namespace syncer {
-
-class SYNC_EXPORT InternalComponentsFactoryImpl
- : public InternalComponentsFactory {
- public:
- explicit InternalComponentsFactoryImpl(const Switches& switches);
- ~InternalComponentsFactoryImpl() override;
-
- std::unique_ptr<SyncScheduler> BuildScheduler(
- const std::string& name,
- sessions::SyncSessionContext* context,
- syncer::CancelationSignal* cancelation_signal) override;
-
- std::unique_ptr<sessions::SyncSessionContext> BuildContext(
- ServerConnectionManager* connection_manager,
- syncable::Directory* directory,
- ExtensionsActivity* extensions_activity,
- const std::vector<SyncEngineEventListener*>& listeners,
- sessions::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 // SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
« no previous file with comments | « sync/internal_api/public/internal_components_factory.h ('k') | sync/internal_api/public/model_type_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698