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

Unified Diff: components/update_client/update_engine.cc

Issue 2873533002: Prepare to abstract PersistedData by making it part of the configurator.
Patch Set: Rename pref_ to pref_service_. Created 3 years, 6 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
Index: components/update_client/update_engine.cc
diff --git a/components/update_client/update_engine.cc b/components/update_client/update_engine.cc
index ef4db8eaf93886b46fd6c158768076d1899d6248..72a02beff2f9841ad48d398d3ad74b756bb7f0ff 100644
--- a/components/update_client/update_engine.cc
+++ b/components/update_client/update_engine.cc
@@ -58,7 +58,7 @@ UpdateEngine::UpdateEngine(
update_checker_factory_(update_checker_factory),
crx_downloader_factory_(crx_downloader_factory),
ping_manager_(ping_manager),
- metadata_(new PersistedData(config->GetPrefService())),
+ metadata_(config->CreateMetadata()),
notify_observers_callback_(notify_observers_callback) {}
UpdateEngine::~UpdateEngine() {

Powered by Google App Engine
This is Rietveld 408576698