Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: chrome/browser/component_updater/ev_whitelist_component_installer.h

Issue 657613002: Certificate Transparency: EV certificates whitelist support for ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ev_list_unpacking_redo
Patch Set: Addressing review comments (comment & formatting) Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..0f417b743b266e8030344e8cf0b6dbb8dd263a9c 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);
+ const base::FilePath ev_whitelist_path_;
+
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

Powered by Google App Engine
This is Rietveld 408576698