Index: chrome/browser/component_updater/chrome_component_updater_configurator.h |
diff --git a/chrome/browser/component_updater/chrome_component_updater_configurator.h b/chrome/browser/component_updater/chrome_component_updater_configurator.h |
index 674059ccf173bd364753b7ae9a274482ff7d7bee..19eaffff4fb5be1cc2dc46737ef542aa15169047 100644 |
--- a/chrome/browser/component_updater/chrome_component_updater_configurator.h |
+++ b/chrome/browser/component_updater/chrome_component_updater_configurator.h |
@@ -8,6 +8,7 @@ |
#include "base/memory/ref_counted.h" |
#include "components/update_client/configurator.h" |
+class PrefRegistrySimple; |
class PrefService; |
namespace base { |
@@ -20,6 +21,13 @@ class URLRequestContextGetter; |
namespace component_updater { |
+// Registers preferences associated with the component updater configurator |
+// for Chrome. The preferences must be registered with the local pref store |
+// before they can be queried by the configurator instance. |
+// This function is called before MakeChromeComponentUpdaterConfigurator. |
+void RegisterPrefsForChromeComponentUpdaterConfigurator( |
+ PrefRegistrySimple* registry); |
+ |
scoped_refptr<update_client::Configurator> |
MakeChromeComponentUpdaterConfigurator( |
const base::CommandLine* cmdline, |