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

Unified Diff: components/update_client/update_engine.cc

Issue 2873533002: Prepare to abstract PersistedData by making it part of the configurator.
Patch Set: Fix ios compile error. Created 3 years, 7 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 f56793f78bd9a1c99cf5737d061a52213ff89418..d4eeb9d3db82a17b36fe19b594fc5b9a8dcbd346 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