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

Unified Diff: services/preferences/pref_service_factory_unittest.cc

Issue 2759413002: Move PrefStoreManagerImpl into //services/preferences. (Closed)
Patch Set: Update newly-added test. Created 3 years, 9 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 | « services/preferences/BUILD.gn ('k') | services/preferences/pref_store_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/preferences/pref_service_factory_unittest.cc
diff --git a/services/preferences/pref_service_factory_unittest.cc b/services/preferences/pref_service_factory_unittest.cc
index e0297db2ff5ade41930bae65f4c782280f83a94f..a77ff7a816dd672e7f172cf7ffaea2eca8d4323a 100644
--- a/services/preferences/pref_service_factory_unittest.cc
+++ b/services/preferences/pref_service_factory_unittest.cc
@@ -12,7 +12,7 @@
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
#include "mojo/public/cpp/bindings/binding_set.h"
-#include "services/preferences/public/cpp/pref_store_manager_impl.h"
+#include "services/preferences/public/cpp/pref_service_main.h"
#include "services/preferences/public/interfaces/preferences.mojom.h"
#include "services/service_manager/public/cpp/interface_factory.h"
#include "services/service_manager/public/cpp/interface_registry.h"
@@ -44,8 +44,8 @@ class ServiceTestClient : public service_manager::test::ServiceTestClient,
const std::string& name) override {
if (name == prefs::mojom::kPrefStoreServiceName) {
pref_service_context_.reset(new service_manager::ServiceContext(
- base::MakeUnique<prefs::PrefStoreManagerImpl>(
- prefs::PrefStoreManagerImpl::PrefStoreTypes(), worker_pool_),
+ CreatePrefService(std::set<PrefValueStore::PrefStoreType>(),
+ worker_pool_),
std::move(request)));
}
}
« no previous file with comments | « services/preferences/BUILD.gn ('k') | services/preferences/pref_store_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698