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/basictypes.h" | |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "base/files/file_util.h" | 12 #include "base/files/file_util.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/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 { |
(...skipping 21 matching lines...) Expand all Loading... |
45 scoped_ptr<crypto::RSAPrivateKey> private_key_; | 45 scoped_ptr<crypto::RSAPrivateKey> private_key_; |
46 std::vector<std::string> certificates_; | 46 std::vector<std::string> certificates_; |
47 std::string signed_certificate_timestamp_; | 47 std::string signed_certificate_timestamp_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(ProofSourceChromium); | 49 DISALLOW_COPY_AND_ASSIGN(ProofSourceChromium); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace net | 52 } // namespace net |
53 | 53 |
54 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ | 54 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ |
OLD | NEW |