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

Unified Diff: net/base/dnssec_chain_verifier.cc

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally Created 10 years, 3 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 | « net/base/dnssec_chain_verifier.h ('k') | net/base/dnssec_keyset.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/dnssec_chain_verifier.cc
diff --git a/net/base/dnssec_chain_verifier.cc b/net/base/dnssec_chain_verifier.cc
index a32c68351ebb3fbea6747dc8274bbfe7af8e2a0d..2dbacbc32edc849dd641544fa5c6aea3b6a6888b 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),
« no previous file with comments | « net/base/dnssec_chain_verifier.h ('k') | net/base/dnssec_keyset.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698