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

Unified Diff: components/update_client/update_client.cc

Issue 1861383004: Add module for counting date-last-roll-call and persisting those counts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ASAN Created 4 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
Index: components/update_client/update_client.cc
diff --git a/components/update_client/update_client.cc b/components/update_client/update_client.cc
index 8fa551d734992c4d908e55561a2365e8e129685a..80170f675fd412787d0a6a211afcf1470f9e0f80 100644
--- a/components/update_client/update_client.cc
+++ b/components/update_client/update_client.cc
@@ -22,8 +22,10 @@
#include "base/thread_task_runner_handle.h"
#include "base/threading/sequenced_worker_pool.h"
#include "base/threading/thread_checker.h"
+#include "components/prefs/pref_registry_simple.h"
#include "components/update_client/configurator.h"
#include "components/update_client/crx_update_item.h"
+#include "components/update_client/persisted_data.h"
#include "components/update_client/ping_manager.h"
#include "components/update_client/task_update.h"
#include "components/update_client/update_checker.h"
@@ -253,4 +255,8 @@ scoped_refptr<UpdateClient> UpdateClientFactory(
&UpdateChecker::Create, &CrxDownloader::Create);
}
+void RegisterPrefs(PrefRegistrySimple* registry) {
+ RegisterPersistedDataPreferences(registry);
+}
+
} // namespace update_client

Powered by Google App Engine
This is Rietveld 408576698