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

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: Another test fix. 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
« no previous file with comments | « components/update_client/update_checker_unittest.cc ('k') | components/update_client/update_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/update_client.h
diff --git a/components/update_client/update_client.h b/components/update_client/update_client.h
index 06f4f09da36897c917a086c7c1e4bb75022a3c82..16df41c94992be80f0347953f738830d3f129679 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;
@@ -330,6 +331,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_
« no previous file with comments | « components/update_client/update_checker_unittest.cc ('k') | components/update_client/update_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698