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

Unified Diff: components/sync/core/test/test_internal_components_factory.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
« no previous file with comments | « components/sync/core/test/test_entry_factory.h ('k') | components/sync/core_impl/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/test/test_internal_components_factory.h
diff --git a/components/sync/core/test/test_internal_components_factory.h b/components/sync/core/test/test_internal_components_factory.h
deleted file mode 100644
index f60aa7375b6f1dcf3ff8fca4f7076bf14d2504e4..0000000000000000000000000000000000000000
--- a/components/sync/core/test/test_internal_components_factory.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright (c) 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.
-
-#ifndef COMPONENTS_SYNC_CORE_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
-#define COMPONENTS_SYNC_CORE_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
-
-#include <memory>
-#include <string>
-#include <vector>
-
-#include "base/macros.h"
-#include "components/sync/core/internal_components_factory.h"
-
-namespace syncer {
-
-class TestInternalComponentsFactory : public InternalComponentsFactory {
- public:
- explicit TestInternalComponentsFactory(const Switches& switches,
- StorageOption option,
- StorageOption* storage_used);
- ~TestInternalComponentsFactory() 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* monitor,
- 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_;
- const StorageOption storage_override_;
- StorageOption* storage_used_;
-
- DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory);
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_CORE_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
« no previous file with comments | « components/sync/core/test/test_entry_factory.h ('k') | components/sync/core_impl/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698