summaryrefslogtreecommitdiffstats
path: root/components/component_updater
diff options
context:
space:
mode:
authoreranm@chromium.org <eranm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-12 16:26:17 +0000
committereranm@chromium.org <eranm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-12 16:28:03 +0000
commit9569178b9ec345852659cf5d09d3d7fa9b0daa23 (patch)
treec377e64f4836380a761df55872c876eb6c375dde /components/component_updater
parent4e403504e4737714d200dd66ae1ace67cf0bbc28 (diff)
downloadchromium_src-9569178b9ec345852659cf5d09d3d7fa9b0daa23.zip
chromium_src-9569178b9ec345852659cf5d09d3d7fa9b0daa23.tar.gz
chromium_src-9569178b9ec345852659cf5d09d3d7fa9b0daa23.tar.bz2
Certificate Transparency: Use component updater for EV whitelist
Fetches the list of EV certificate hashes using the component updater. Once this is in, we could gather data on how many EV certificates do not appear in any Certificate Transparency log. BUG=339128 Review URL: https://codereview.chromium.org/465443002 Cr-Commit-Position: refs/heads/master@{#289001} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/component_updater')
-rw-r--r--components/component_updater/component_updater_paths.cc3
-rw-r--r--components/component_updater/component_updater_paths.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/components/component_updater/component_updater_paths.cc b/components/component_updater/component_updater_paths.cc
index ca36c17..7a3fbbf 100644
--- a/components/component_updater/component_updater_paths.cc
+++ b/components/component_updater/component_updater_paths.cc
@@ -41,6 +41,9 @@ bool PathProvider(int key, base::FilePath* result) {
case DIR_SW_REPORTER:
cur = cur.Append(FILE_PATH_LITERAL("SwReporter"));
break;
+ case DIR_COMPONENT_EV_WHITELIST:
+ cur = cur.Append(FILE_PATH_LITERAL("EVWhitelist"));
+ break;
default:
return false;
}
diff --git a/components/component_updater/component_updater_paths.h b/components/component_updater/component_updater_paths.h
index b2d1062..33dd3d4 100644
--- a/components/component_updater/component_updater_paths.h
+++ b/components/component_updater/component_updater_paths.h
@@ -17,6 +17,7 @@ enum {
// component.
DIR_SWIFT_SHADER, // Path to the SwiftShader component.
DIR_SW_REPORTER, // Path to the SwReporter component.
+ DIR_COMPONENT_EV_WHITELIST, // EV whitelist for CT files.
PATH_END
};