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

Unified Diff: net/quic/crypto/proof_verifier_chromium.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/quic/crypto/proof_verifier.h ('k') | net/quic/crypto/proof_verifier_chromium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/proof_verifier_chromium.h
diff --git a/net/quic/crypto/proof_verifier_chromium.h b/net/quic/crypto/proof_verifier_chromium.h
deleted file mode 100644
index c51a024eeb281bf515f8539df7ef71202ddfbddd..0000000000000000000000000000000000000000
--- a/net/quic/crypto/proof_verifier_chromium.h
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
-#define NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
-
-#include <set>
-#include <string>
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "net/base/net_export.h"
-#include "net/base/net_log.h"
-#include "net/cert/cert_verify_result.h"
-#include "net/cert/x509_certificate.h"
-#include "net/quic/crypto/proof_verifier.h"
-
-namespace net {
-
-class CertVerifier;
-class TransportSecurityState;
-
-// ProofVerifyDetailsChromium is the implementation-specific information that a
-// ProofVerifierChromium returns about a certificate verification.
-class NET_EXPORT_PRIVATE ProofVerifyDetailsChromium
- : public ProofVerifyDetails {
- public:
-
- // ProofVerifyDetails implementation
- ProofVerifyDetails* Clone() const override;
-
- CertVerifyResult cert_verify_result;
-
- // pinning_failure_log contains a message produced by
- // TransportSecurityState::DomainState::CheckPublicKeyPins in the event of a
- // pinning failure. It is a (somewhat) human-readable string.
- std::string pinning_failure_log;
-};
-
-// ProofVerifyContextChromium is the implementation-specific information that a
-// ProofVerifierChromium needs in order to log correctly.
-struct ProofVerifyContextChromium : public ProofVerifyContext {
- public:
- explicit ProofVerifyContextChromium(const BoundNetLog& net_log)
- : net_log(net_log) {}
-
- BoundNetLog net_log;
-};
-
-// ProofVerifierChromium implements the QUIC ProofVerifier interface. It is
-// capable of handling multiple simultaneous requests.
-class NET_EXPORT_PRIVATE ProofVerifierChromium : public ProofVerifier {
- public:
- ProofVerifierChromium(CertVerifier* cert_verifier,
- TransportSecurityState* transport_security_state);
- ~ProofVerifierChromium() override;
-
- // ProofVerifier interface
- QuicAsyncStatus VerifyProof(const std::string& hostname,
- const std::string& server_config,
- const std::vector<std::string>& certs,
- const std::string& signature,
- const ProofVerifyContext* verify_context,
- std::string* error_details,
- scoped_ptr<ProofVerifyDetails>* verify_details,
- ProofVerifierCallback* callback) override;
-
- private:
- class Job;
- typedef std::set<Job*> JobSet;
-
- void OnJobComplete(Job* job);
-
- // Set owning pointers to active jobs.
- JobSet active_jobs_;
-
- // Underlying verifier used to verify certificates.
- CertVerifier* const cert_verifier_;
-
- TransportSecurityState* const transport_security_state_;
-
- DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium);
-};
-
-} // namespace net
-
-#endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
« no previous file with comments | « net/quic/crypto/proof_verifier.h ('k') | net/quic/crypto/proof_verifier_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698