| 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 CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ |
| 6 #define CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "chrome/browser/component_updater/default_component_installer.h" | 13 #include "components/component_updater/default_component_installer.h" |
| 14 | 14 |
| 15 namespace test { | 15 namespace test { |
| 16 class ComponentCldDataHarness; | 16 class ComponentCldDataHarness; |
| 17 } // namespace test | 17 } // namespace test |
| 18 | 18 |
| 19 namespace component_updater { | 19 namespace component_updater { |
| 20 | 20 |
| 21 class ComponentUpdateService; | 21 class ComponentUpdateService; |
| 22 | 22 |
| 23 // Visible for testing. No need to instantiate this class directly. | 23 // Visible for testing. No need to instantiate this class directly. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 DISALLOW_COPY_AND_ASSIGN(CldComponentInstallerTraits); | 66 DISALLOW_COPY_AND_ASSIGN(CldComponentInstallerTraits); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 // Call once during startup to make the component update service aware of | 69 // Call once during startup to make the component update service aware of |
| 70 // the CLD component. | 70 // the CLD component. |
| 71 void RegisterCldComponent(ComponentUpdateService* cus); | 71 void RegisterCldComponent(ComponentUpdateService* cus); |
| 72 | 72 |
| 73 } // namespace component_updater | 73 } // namespace component_updater |
| 74 | 74 |
| 75 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ | 75 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ |
| OLD | NEW |