Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / component_updater / chrome_component_updater_configurator.h
blob1e777b28d54260feaea0449b1fd0861e614be801
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATOR_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATOR_H_
8 #include "base/memory/ref_counted.h"
9 #include "components/update_client/configurator.h"
11 namespace base {
12 class CommandLine;
15 namespace net {
16 class URLRequestContextGetter;
19 namespace component_updater {
21 scoped_refptr<update_client::Configurator>
22 MakeChromeComponentUpdaterConfigurator(
23 const base::CommandLine* cmdline,
24 net::URLRequestContextGetter* context_getter);
26 } // namespace component_updater
28 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATOR_H_