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

Unified Diff: sync/internal_api/public/test/test_internal_components_factory.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
« no previous file with comments | « sync/internal_api/public/test/test_entry_factory.h ('k') | sync/internal_api/public/test/test_user_share.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/test/test_internal_components_factory.h
diff --git a/sync/internal_api/public/test/test_internal_components_factory.h b/sync/internal_api/public/test/test_internal_components_factory.h
deleted file mode 100644
index 419903deed71aa31e79bfa332d1a7f100e5a2ed7..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/test/test_internal_components_factory.h
+++ /dev/null
@@ -1,54 +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 SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
-#define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
-
-#include <string>
-#include <vector>
-
-#include "base/macros.h"
-#include "sync/internal_api/public/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,
- sessions::SyncSessionContext* context,
- syncer::CancelationSignal* cancelation_signal) override;
-
- std::unique_ptr<sessions::SyncSessionContext> BuildContext(
- ServerConnectionManager* connection_manager,
- syncable::Directory* directory,
- ExtensionsActivity* monitor,
- 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_;
- const StorageOption storage_override_;
- StorageOption* storage_used_;
-
- DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory);
-};
-
-} // namespace syncer
-
-#endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_
« no previous file with comments | « sync/internal_api/public/test/test_entry_factory.h ('k') | sync/internal_api/public/test/test_user_share.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698