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 COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ | 5 #ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
6 #define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ | 6 #define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/version.h" | 17 #include "base/version.h" |
18 #include "components/update_client/update_client.h" | 18 #include "components/update_client/update_client.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
20 | 20 |
21 class ComponentsUI; | 21 class ComponentsUI; |
22 class PluginObserver; | 22 class PluginObserver; |
23 class SupervisedUserWhitelistService; | |
24 | 23 |
25 namespace base { | 24 namespace base { |
26 class DictionaryValue; | |
27 class FilePath; | |
28 class SequencedTaskRunner; | 25 class SequencedTaskRunner; |
29 } | 26 } |
30 | 27 |
31 namespace content { | |
32 class ResourceThrottle; | |
33 } | |
34 | |
35 namespace net { | |
36 class URLRequestContextGetter; | |
37 class URLRequest; | |
38 } | |
39 | |
40 namespace policy { | 28 namespace policy { |
41 class ComponentUpdaterPolicyTest; | 29 class ComponentUpdaterPolicyTest; |
42 } | 30 } |
43 | 31 |
44 namespace update_client { | 32 namespace update_client { |
45 class ComponentInstaller; | 33 class ComponentInstaller; |
46 class Configurator; | 34 class Configurator; |
47 struct CrxComponent; | 35 struct CrxComponent; |
48 struct CrxUpdateItem; | 36 struct CrxUpdateItem; |
49 } | 37 } |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 const Callback& callback) = 0; | 166 const Callback& callback) = 0; |
179 }; | 167 }; |
180 | 168 |
181 // Creates the component updater. | 169 // Creates the component updater. |
182 std::unique_ptr<ComponentUpdateService> ComponentUpdateServiceFactory( | 170 std::unique_ptr<ComponentUpdateService> ComponentUpdateServiceFactory( |
183 const scoped_refptr<Configurator>& config); | 171 const scoped_refptr<Configurator>& config); |
184 | 172 |
185 } // namespace component_updater | 173 } // namespace component_updater |
186 | 174 |
187 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ | 175 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
OLD | NEW |