Chromium Code Reviews| Index: chrome/browser/component_updater/ev_whitelist_component_installer.h |
| diff --git a/chrome/browser/component_updater/ev_whitelist_component_installer.h b/chrome/browser/component_updater/ev_whitelist_component_installer.h |
| index 441a16ba9a7a8c124658cfaee3ae93ea20e732d8..cf305460e0961ae422fd6d63ba3e450880762887 100644 |
| --- a/chrome/browser/component_updater/ev_whitelist_component_installer.h |
| +++ b/chrome/browser/component_updater/ev_whitelist_component_installer.h |
| @@ -14,13 +14,17 @@ |
| #include "base/values.h" |
| #include "components/component_updater/default_component_installer.h" |
| +namespace base { |
| +class FilePath; |
| +} // namespace base |
| + |
| namespace component_updater { |
| class ComponentUpdateService; |
| class EVWhitelistComponentInstallerTraits : public ComponentInstallerTraits { |
| public: |
| - EVWhitelistComponentInstallerTraits(); |
| + explicit EVWhitelistComponentInstallerTraits(const base::FilePath& base_path); |
| ~EVWhitelistComponentInstallerTraits() override {} |
| private: |
| @@ -39,12 +43,15 @@ class EVWhitelistComponentInstallerTraits : public ComponentInstallerTraits { |
| static base::FilePath GetInstalledPath(const base::FilePath& base); |
| + base::FilePath ev_whitelist_path_; |
|
Sorin Jianu
2014/11/11 20:09:28
can this data member be const? In seems it is init
Eran Messeri
2014/11/20 17:55:05
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(EVWhitelistComponentInstallerTraits); |
| }; |
| // Call once during startup to make the component update service aware of |
| // the EV whitelist. |
| -void RegisterEVWhitelistComponent(ComponentUpdateService* cus); |
| +void RegisterEVWhitelistComponent(ComponentUpdateService* cus, |
| + const base::FilePath& path); |
| } // namespace component_updater |