Certificate Transparency: Make CTLogVerifier ref-counted
commit03d454cfbcfd24279b1381b1b1386830eafa4d80
authoreranm <eranm@chromium.org>
Thu, 2 Jul 2015 09:12:03 +0000 (2 02:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Jul 2015 09:12:30 +0000 (2 09:12 +0000)
tree48aad92940b438d5d88dfe7c9b1e54a6e9a474b0
parent07e71ab310ccd36f3ffcd3000a9e6a79970bb687
Certificate Transparency: Make CTLogVerifier ref-counted

In preparation of having per-profile CTVerifier, make the CTLogVerifier
ref-counted so it can be shared between CTVerifiers.

As the CTLogVerifier is immutable and holds no state, it should be
safe to do so.

BUG=506227

Review URL: https://codereview.chromium.org/1218213002

Cr-Commit-Position: refs/heads/master@{#337194}
chrome/browser/io_thread.cc
net/cert/ct_known_logs.cc
net/cert/ct_known_logs.h
net/cert/ct_log_verifier.cc
net/cert/ct_log_verifier.h
net/cert/ct_log_verifier_unittest.cc
net/cert/ct_objects_extractor_unittest.cc
net/cert/multi_log_ct_verifier.cc
net/cert/multi_log_ct_verifier.h
net/cert/multi_log_ct_verifier_unittest.cc