diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 19:42:00 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 19:42:00 +0000 |
commit | 7e4468d50ab7c74fad98adcb847d82c5750f2a21 (patch) | |
tree | bcaecf049255d834e454b10512b241172109bd6f /net/base/dnssec_chain_verifier.cc | |
parent | 2aa3de25c0bca5f7c06a89a100bb7cd50004b853 (diff) | |
download | chromium_src-7e4468d50ab7c74fad98adcb847d82c5750f2a21.zip chromium_src-7e4468d50ab7c74fad98adcb847d82c5750f2a21.tar.gz chromium_src-7e4468d50ab7c74fad98adcb847d82c5750f2a21.tar.bz2 |
FBTF: Move a bunch of code to the headers and remove includes.
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3412016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/dnssec_chain_verifier.cc')
-rw-r--r-- | net/base/dnssec_chain_verifier.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/base/dnssec_chain_verifier.cc b/net/base/dnssec_chain_verifier.cc index a32c683..2dbacbc 100644 --- a/net/base/dnssec_chain_verifier.cc +++ b/net/base/dnssec_chain_verifier.cc @@ -10,6 +10,7 @@ #include "base/sha2.h" #include "base/string_util.h" #include "net/base/dns_util.h" +#include "net/base/dnssec_keyset.h" // We don't have a location for the spec yet, so we'll include it here until it // finds a better home. @@ -139,6 +140,15 @@ static const uint16 kRootKeyID = 19036; namespace net { +struct DNSSECChainVerifier::Zone { + base::StringPiece name; + // The number of consecutive labels which |name| shares with |target_|, + // counting right-to-left from the root. + unsigned matching_labels; + DNSSECKeySet trusted_keys; + Zone* prev; +}; + DNSSECChainVerifier::DNSSECChainVerifier(const std::string& target, const base::StringPiece& chain) : current_zone_(NULL), |