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_ |