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

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

Issue 1013003003: Add tests for Component Updater command line arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 "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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698