OLD | NEW |
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 "components/update_client/configurator.h" | 8 #include "components/update_client/configurator.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 class CommandLine; | 11 class CommandLine; |
12 } | 12 } |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 class URLRequestContextGetter; | 15 class URLRequestContextGetter; |
16 } | 16 } |
17 | 17 |
18 namespace component_updater { | 18 namespace component_updater { |
19 | 19 |
| 20 extern const char kSwitchFastUpdate[]; |
| 21 extern const char kSwitchRequestParam[]; |
| 22 extern const char kSwitchDisablePings[]; |
| 23 extern const char kSwitchUrlSource[]; |
| 24 extern const char kSwitchDisableDeltaUpdates[]; |
| 25 #if defined(OS_WIN) |
| 26 extern const char kSwitchDisableBackgroundDownloads[]; |
| 27 #endif // defined(OS_WIN) |
| 28 |
20 update_client::Configurator* MakeChromeComponentUpdaterConfigurator( | 29 update_client::Configurator* MakeChromeComponentUpdaterConfigurator( |
21 const base::CommandLine* cmdline, | 30 const base::CommandLine* cmdline, |
22 net::URLRequestContextGetter* context_getter); | 31 net::URLRequestContextGetter* context_getter); |
23 | 32 |
24 } // namespace component_updater | 33 } // namespace component_updater |
25 | 34 |
26 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATO
R_H_ | 35 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATO
R_H_ |
OLD | NEW |