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: ios/chrome/browser/component_updater/ios_component_updater_configurator.h

Issue 1281913002: Componentize ComponentUpdaterConfigurator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix iOS compile Created 5 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 2015 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 IOS_CHROME_BROWSER_COMPONENT_UPDATER_IOS_COMPONENT_UPDATER_CONFIGURATOR_ H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATOR_H _ 6 #define IOS_CHROME_BROWSER_COMPONENT_UPDATER_IOS_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 namespace base { 11 namespace base {
12 class CommandLine; 12 class CommandLine;
13 } 13 }
14 14
15 namespace net { 15 namespace net {
16 class URLRequestContextGetter; 16 class URLRequestContextGetter;
17 } 17 }
18 18
19 namespace component_updater { 19 namespace component_updater {
20 20
21 scoped_refptr<update_client::Configurator> 21 scoped_refptr<update_client::Configurator> MakeIOSComponentUpdaterConfigurator(
22 MakeChromeComponentUpdaterConfigurator(
23 const base::CommandLine* cmdline, 22 const base::CommandLine* cmdline,
24 net::URLRequestContextGetter* context_getter); 23 net::URLRequestContextGetter* context_getter);
25 24
26 } // namespace component_updater 25 } // namespace component_updater
27 26
28 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CHROME_COMPONENT_UPDATER_CONFIGURATO R_H_ 27 #endif // IOS_CHROME_BROWSER_COMPONENT_UPDATER_IOS_COMPONENT_UPDATER_CONFIGURAT OR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698