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

Side by Side Diff: chrome/browser/component_updater/chrome_component_updater_configurator.h

Issue 2240263004: Allow injecting a PrefService into ChromeComponentUpdaterConfigurator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 PrefService;
12
11 namespace base { 13 namespace base {
12 class CommandLine; 14 class CommandLine;
13 } 15 }
14 16
15 namespace net { 17 namespace net {
16 class URLRequestContextGetter; 18 class URLRequestContextGetter;
17 } 19 }
18 20
19 namespace component_updater { 21 namespace component_updater {
20 22
21 scoped_refptr<update_client::Configurator> 23 scoped_refptr<update_client::Configurator>
22 MakeChromeComponentUpdaterConfigurator( 24 MakeChromeComponentUpdaterConfigurator(
23 const base::CommandLine* cmdline, 25 const base::CommandLine* cmdline,
24 net::URLRequestContextGetter* context_getter); 26 net::URLRequestContextGetter* context_getter,
27 PrefService* pref_service);
25 28
26 } // namespace component_updater 29 } // namespace component_updater
27 30
28 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATO R_H_ 31 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATO R_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/component_updater/chrome_component_updater_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698