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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATOR_H _ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATOR_H _
6 #define CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATOR_H _ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATOR_H _
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "components/update_client/configurator.h" 9 #include "components/update_client/configurator.h"
10 10
11 class PrefRegistrySimple;
11 class PrefService; 12 class PrefService;
12 13
13 namespace base { 14 namespace base {
14 class CommandLine; 15 class CommandLine;
15 } 16 }
16 17
17 namespace net { 18 namespace net {
18 class URLRequestContextGetter; 19 class URLRequestContextGetter;
19 } 20 }
20 21
21 namespace component_updater { 22 namespace component_updater {
22 23
24 // Registers preferences associated with the component updater configurator
25 // for Chrome. The preferences must be registered with the local pref store
26 // before they can be queried by the configurator instance.
27 // This function is called before MakeChromeComponentUpdaterConfigurator.
28 void RegisterPrefsForChromeComponentUpdaterConfigurator(
29 PrefRegistrySimple* registry);
30
23 scoped_refptr<update_client::Configurator> 31 scoped_refptr<update_client::Configurator>
24 MakeChromeComponentUpdaterConfigurator( 32 MakeChromeComponentUpdaterConfigurator(
25 const base::CommandLine* cmdline, 33 const base::CommandLine* cmdline,
26 net::URLRequestContextGetter* context_getter, 34 net::URLRequestContextGetter* context_getter,
27 PrefService* pref_service); 35 PrefService* pref_service);
28 36
29 } // namespace component_updater 37 } // namespace component_updater
30 38
31 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATO R_H_ 39 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATO R_H_
OLDNEW
« 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