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

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

Issue 547603002: Certificate Transparency: Code for unpacking EV cert hashes whitelist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unnecessary const Created 6 years, 2 months 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
« no previous file with comments | « no previous file | chrome/browser/net/bit_stream_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/ev_whitelist_component_installer.cc
diff --git a/chrome/browser/component_updater/ev_whitelist_component_installer.cc b/chrome/browser/component_updater/ev_whitelist_component_installer.cc
index 26679dcae47f215552bd7215364840e5c41233be..7700bb60c3224a4aca42d2e60bed6b7bd3025e60 100644
--- a/chrome/browser/component_updater/ev_whitelist_component_installer.cc
+++ b/chrome/browser/component_updater/ev_whitelist_component_installer.cc
@@ -13,6 +13,7 @@
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/path_service.h"
+#include "chrome/browser/net/packed_ct_ev_whitelist.h"
#include "components/component_updater/component_updater_paths.h"
#include "content/public/browser/browser_thread.h"
#include "net/ssl/ssl_config_service.h"
@@ -65,16 +66,9 @@ void EVWhitelistComponentInstallerTraits::ComponentReady(
VLOG(1) << "Component ready, version " << version.GetString() << " in "
<< path.value();
- // TODO(eranm): Uncomment once https://codereview.chromium.org/462543002/
- // is in.
- /*
const base::FilePath whitelist_file = GetInstalledPath(path);
- base::Callback<void(void)> set_cb =
- base::Bind(&net::ct::SetEVWhitelistFromFile, whitelist_file);
content::BrowserThread::PostBlockingPoolTask(
- FROM_HERE,
- set_cb);
- */
+ FROM_HERE, base::Bind(&SetEVWhitelistFromFile, whitelist_file));
}
bool EVWhitelistComponentInstallerTraits::VerifyInstallation(
« no previous file with comments | « no previous file | chrome/browser/net/bit_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698