| 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 <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 14 #include "base/gtest_prod_util.h" | |
| 15 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/version.h" | 16 #include "base/version.h" |
| 18 #include "components/update_client/update_client.h" | 17 #include "components/update_client/update_client.h" |
| 19 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 20 | 19 |
| 21 class ComponentsUI; | 20 class ComponentsUI; |
| 22 class SupervisedUserWhitelistService; | 21 class SupervisedUserWhitelistService; |
| 23 | 22 |
| 24 namespace base { | 23 namespace base { |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 virtual bool OnDemandUpdate(const std::string& id) = 0; | 150 virtual bool OnDemandUpdate(const std::string& id) = 0; |
| 152 }; | 151 }; |
| 153 | 152 |
| 154 // Creates the component updater. | 153 // Creates the component updater. |
| 155 scoped_ptr<ComponentUpdateService> ComponentUpdateServiceFactory( | 154 scoped_ptr<ComponentUpdateService> ComponentUpdateServiceFactory( |
| 156 const scoped_refptr<Configurator>& config); | 155 const scoped_refptr<Configurator>& config); |
| 157 | 156 |
| 158 } // namespace component_updater | 157 } // namespace component_updater |
| 159 | 158 |
| 160 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ | 159 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
| OLD | NEW |