| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_SERVICE_H_ | 5 #ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
| 6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ | 6 #define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/version.h" | 14 #include "base/version.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 virtual ComponentUpdateService::Status OnDemandUpdate( | 220 virtual ComponentUpdateService::Status OnDemandUpdate( |
| 221 const std::string& component_id) = 0; | 221 const std::string& component_id) = 0; |
| 222 }; | 222 }; |
| 223 | 223 |
| 224 // Creates the component updater. You must pass a valid |config| allocated on | 224 // Creates the component updater. You must pass a valid |config| allocated on |
| 225 // the heap which the component updater will own. | 225 // the heap which the component updater will own. |
| 226 ComponentUpdateService* ComponentUpdateServiceFactory(Configurator* config); | 226 ComponentUpdateService* ComponentUpdateServiceFactory(Configurator* config); |
| 227 | 227 |
| 228 } // namespace component_updater | 228 } // namespace component_updater |
| 229 | 229 |
| 230 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ | 230 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
| OLD | NEW |