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_EV_WHITELIST_COMPONENT_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_EV_WHITELIST_COMPONENT_INSTALLER_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_EV_WHITELIST_COMPONENT_INSTALLER_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_EV_WHITELIST_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/values.h" | 12 #include "base/values.h" |
13 #include "chrome/browser/component_updater/default_component_installer.h" | 13 #include "components/component_updater/default_component_installer.h" |
14 | 14 |
15 namespace component_updater { | 15 namespace component_updater { |
16 | 16 |
17 class ComponentUpdateService; | 17 class ComponentUpdateService; |
18 | 18 |
19 class EVWhitelistComponentInstallerTraits : public ComponentInstallerTraits { | 19 class EVWhitelistComponentInstallerTraits : public ComponentInstallerTraits { |
20 public: | 20 public: |
21 EVWhitelistComponentInstallerTraits(); | 21 EVWhitelistComponentInstallerTraits(); |
22 virtual ~EVWhitelistComponentInstallerTraits() {} | 22 virtual ~EVWhitelistComponentInstallerTraits() {} |
23 | 23 |
(...skipping 17 matching lines...) Expand all Loading... |
41 DISALLOW_COPY_AND_ASSIGN(EVWhitelistComponentInstallerTraits); | 41 DISALLOW_COPY_AND_ASSIGN(EVWhitelistComponentInstallerTraits); |
42 }; | 42 }; |
43 | 43 |
44 // Call once during startup to make the component update service aware of | 44 // Call once during startup to make the component update service aware of |
45 // the EV whitelist. | 45 // the EV whitelist. |
46 void RegisterEVWhitelistComponent(ComponentUpdateService* cus); | 46 void RegisterEVWhitelistComponent(ComponentUpdateService* cus); |
47 | 47 |
48 } // namespace component_updater | 48 } // namespace component_updater |
49 | 49 |
50 #endif // CHROME_BROWSER_COMPONENT_UPDATER_EV_WHITELIST_COMPONENT_INSTALLER_H_ | 50 #endif // CHROME_BROWSER_COMPONENT_UPDATER_EV_WHITELIST_COMPONENT_INSTALLER_H_ |
OLD | NEW |