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

Unified Diff: components/update_client/update_client.h

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.h
diff --git a/components/update_client/update_client.h b/components/update_client/update_client.h
index e354fb6263996074393c8ad113ddd1df7f0a9a82..0fb24a4907e7a7303a7b72ce9b0d6fc12dc1a2c9 100644
--- a/components/update_client/update_client.h
+++ b/components/update_client/update_client.h
@@ -128,6 +128,7 @@
// being checked for updates and applying the update.
class ComponentsUI;
+class PrefRegistrySimple;
namespace base {
class DictionaryValue;
@@ -329,6 +330,10 @@ class UpdateClient : public base::RefCounted<UpdateClient> {
scoped_refptr<UpdateClient> UpdateClientFactory(
const scoped_refptr<Configurator>& config);
+// This must be called prior to the construction of any Configurator that
+// contains a PrefService.
+void RegisterPrefs(PrefRegistrySimple* registry);
+
} // namespace update_client
#endif // COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698