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

Unified Diff: components/browser_sync/abstract_profile_sync_service_test.cc

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 | « chrome/browser/sync/DEPS ('k') | components/browser_sync/profile_sync_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_sync/abstract_profile_sync_service_test.cc
diff --git a/components/browser_sync/abstract_profile_sync_service_test.cc b/components/browser_sync/abstract_profile_sync_service_test.cc
index b13bfc0abfa5f3ede58a230cc31cf8cab2d62cf6..9baf0a5d90b5e2ea0508326ee68bf74e5fc157ac 100644
--- a/components/browser_sync/abstract_profile_sync_service_test.cc
+++ b/components/browser_sync/abstract_profile_sync_service_test.cc
@@ -14,10 +14,10 @@
#include "base/run_loop.h"
#include "components/browser_sync/test_http_bridge_factory.h"
#include "components/browser_sync/test_profile_sync_service.h"
-#include "components/sync/core/test/sync_manager_factory_for_profile_sync_test.h"
-#include "components/sync/core/test/test_internal_components_factory.h"
#include "components/sync/driver/glue/sync_backend_host_core.h"
#include "components/sync/driver/sync_api_component_factory_mock.h"
+#include "components/sync/engine/sync_manager_factory_for_profile_sync_test.h"
+#include "components/sync/engine/test_engine_components_factory.h"
#include "components/sync/protocol/sync.pb.h"
#include "components/sync/syncable/test_user_share.h"
#include "google_apis/gaia/gaia_constants.h"
@@ -96,15 +96,15 @@ void SyncBackendHostForProfileSyncTest::InitCore(
options->credentials.scope_set.insert(GaiaConstants::kChromeSyncOAuth2Scope);
options->restored_key_for_bootstrapping.clear();
- // It'd be nice if we avoided creating the InternalComponentsFactory in the
+ // It'd be nice if we avoided creating the EngineComponentsFactory in the
// first place, but SyncBackendHost will have created one by now so we must
// free it. Grab the switches to pass on first.
- syncer::InternalComponentsFactory::Switches factory_switches =
- options->internal_components_factory->GetSwitches();
- options->internal_components_factory.reset(
- new syncer::TestInternalComponentsFactory(
- factory_switches,
- syncer::InternalComponentsFactory::STORAGE_IN_MEMORY, nullptr));
+ syncer::EngineComponentsFactory::Switches factory_switches =
+ options->engine_components_factory->GetSwitches();
+ options->engine_components_factory.reset(
+ new syncer::TestEngineComponentsFactory(
+ factory_switches, syncer::EngineComponentsFactory::STORAGE_IN_MEMORY,
+ nullptr));
SyncBackendHostImpl::InitCore(std::move(options));
}
« no previous file with comments | « chrome/browser/sync/DEPS ('k') | components/browser_sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698