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

Unified Diff: services/preferences/persistent_pref_store_factory.cc

Issue 2799043003: Revert of Pref service: add support for tracked prefs. (Closed)
Patch Set: Created 3 years, 8 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/persistent_pref_store_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/preferences/persistent_pref_store_factory.cc
diff --git a/services/preferences/persistent_pref_store_factory.cc b/services/preferences/persistent_pref_store_factory.cc
index 587ac96d1828ed0ee3995e1f8cb911f595f94c70..ef63057bcc19eb1569e14c1e73906d72d18ee0b2 100644
--- a/services/preferences/persistent_pref_store_factory.cc
+++ b/services/preferences/persistent_pref_store_factory.cc
@@ -10,7 +10,6 @@
#include "components/prefs/json_pref_store.h"
#include "components/prefs/pref_filter.h"
#include "services/preferences/persistent_pref_store_impl.h"
-#include "services/preferences/tracked/tracked_persistent_pref_store_factory.h"
namespace prefs {
namespace {
@@ -24,7 +23,7 @@
JsonPrefStore::GetTaskRunnerForFile(
config->pref_filename.DirName(), worker_pool),
nullptr),
- std::move(on_initialized));
+ nullptr, std::move(on_initialized));
}
} // namespace
@@ -38,12 +37,6 @@
std::move(configuration->get_simple_configuration()), worker_pool,
std::move(on_initialized));
}
- if (configuration->is_tracked_configuration()) {
- return base::MakeUnique<PersistentPrefStoreImpl>(
- CreateTrackedPersistentPrefStore(
- std::move(configuration->get_tracked_configuration()), worker_pool),
- std::move(on_initialized));
- }
NOTREACHED();
return nullptr;
}
« no previous file with comments | « services/preferences/BUILD.gn ('k') | services/preferences/persistent_pref_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698