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

Side by Side Diff: components/component_updater/component_updater_configurator.h

Issue 449643002: Componentize component_updater: Move over a bunch of files to the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extensions from component_updater.gypi dependencies, due to introducing cycle Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_COMPONENT_UPDATER_CONFIGURATOR_H_ 5 #ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_CONFIGURATOR_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_CONFIGURATOR_H_ 6 #define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_CONFIGURATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 12
13 class GURL; 13 class GURL;
14 14
15 namespace base { 15 namespace base {
16 class CommandLine;
17 class SingleThreadTaskRunner; 16 class SingleThreadTaskRunner;
18 class SequencedTaskRunner; 17 class SequencedTaskRunner;
19 class Version; 18 class Version;
20 } 19 }
21 20
22 namespace net { 21 namespace net {
23 class URLRequestContextGetter; 22 class URLRequestContextGetter;
24 } 23 }
25 24
26 namespace component_updater { 25 namespace component_updater {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner() 102 virtual scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner()
104 const = 0; 103 const = 0;
105 104
106 // Gets a task runner for worker jobs guaranteed to run on a single thread. 105 // Gets a task runner for worker jobs guaranteed to run on a single thread.
107 // This thread must be capable of IO. On Windows, this thread must be 106 // This thread must be capable of IO. On Windows, this thread must be
108 // initialized for use of COM objects. 107 // initialized for use of COM objects.
109 virtual scoped_refptr<base::SingleThreadTaskRunner> 108 virtual scoped_refptr<base::SingleThreadTaskRunner>
110 GetSingleThreadTaskRunner() const = 0; 109 GetSingleThreadTaskRunner() const = 0;
111 }; 110 };
112 111
113 Configurator* MakeChromeComponentUpdaterConfigurator(
114 const base::CommandLine* cmdline,
115 net::URLRequestContextGetter* context_getter);
116
117 } // namespace component_updater 112 } // namespace component_updater
118 113
119 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_CONFIGURATOR_H_ 114 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_CONFIGURATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698