| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ | 5 #ifndef NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ |
| 6 #define NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ | 6 #define NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "crypto/rsa_private_key.h" | 14 #include "crypto/rsa_private_key.h" |
| 15 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
| 16 #include "net/cert/x509_certificate.h" | 16 #include "net/cert/x509_certificate.h" |
| 17 #include "net/quic/crypto/proof_source.h" | 17 #include "net/quic/core/crypto/proof_source.h" |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 | 20 |
| 21 // ProofSourceChromium implements the QUIC ProofSource interface. | 21 // ProofSourceChromium implements the QUIC ProofSource interface. |
| 22 // TODO(rtenneti): implement details of this class. | 22 // TODO(rtenneti): implement details of this class. |
| 23 class NET_EXPORT_PRIVATE ProofSourceChromium : public ProofSource { | 23 class NET_EXPORT_PRIVATE ProofSourceChromium : public ProofSource { |
| 24 public: | 24 public: |
| 25 ProofSourceChromium(); | 25 ProofSourceChromium(); |
| 26 ~ProofSourceChromium() override; | 26 ~ProofSourceChromium() override; |
| 27 | 27 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 55 std::unique_ptr<crypto::RSAPrivateKey> private_key_; | 55 std::unique_ptr<crypto::RSAPrivateKey> private_key_; |
| 56 scoped_refptr<ProofSource::Chain> chain_; | 56 scoped_refptr<ProofSource::Chain> chain_; |
| 57 std::string signed_certificate_timestamp_; | 57 std::string signed_certificate_timestamp_; |
| 58 | 58 |
| 59 DISALLOW_COPY_AND_ASSIGN(ProofSourceChromium); | 59 DISALLOW_COPY_AND_ASSIGN(ProofSourceChromium); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace net | 62 } // namespace net |
| 63 | 63 |
| 64 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ | 64 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ |
| OLD | NEW |