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

Unified Diff: chrome/browser/component_updater/chrome_component_updater_configurator.h

Issue 2257363002: Define EnabledComponentUpdates group policy for the component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@callback
Patch Set: Removed policy group. Reworded comment. Created 4 years, 4 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 | « no previous file | chrome/browser/component_updater/chrome_component_updater_configurator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | chrome/browser/component_updater/chrome_component_updater_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698