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

Side by Side Diff: net/quic/chromium/crypto_test_utils_chromium.cc

Issue 2603723002: Add a new QUIC platform API for text utilities. (Closed)
Patch Set: net/tools/quic/quic_packet_printer_bin.cc Created 3 years, 11 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 unified diff | Download patch
OLDNEW
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 #include <memory> 5 #include <memory>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 17 matching lines...) Expand all
28 #include "net/log/net_log_with_source.h" 28 #include "net/log/net_log_with_source.h"
29 #include "net/quic/chromium/crypto/proof_source_chromium.h" 29 #include "net/quic/chromium/crypto/proof_source_chromium.h"
30 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" 30 #include "net/quic/chromium/crypto/proof_verifier_chromium.h"
31 #include "net/quic/core/crypto/crypto_utils.h" 31 #include "net/quic/core/crypto/crypto_utils.h"
32 #include "net/quic/test_tools/crypto_test_utils.h" 32 #include "net/quic/test_tools/crypto_test_utils.h"
33 #include "net/ssl/ssl_config_service.h" 33 #include "net/ssl/ssl_config_service.h"
34 #include "net/test/cert_test_util.h" 34 #include "net/test/cert_test_util.h"
35 #include "net/test/test_data_directory.h" 35 #include "net/test/test_data_directory.h"
36 36
37 using base::StringPiece; 37 using base::StringPiece;
38 using base::StringPrintf;
39 using std::string; 38 using std::string;
40 39
41 namespace net { 40 namespace net {
42 41
43 namespace test { 42 namespace test {
44 43
45 namespace { 44 namespace {
46 45
47 class TestProofVerifierChromium : public ProofVerifierChromium { 46 class TestProofVerifierChromium : public ProofVerifierChromium {
48 public: 47 public:
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 111
113 // static 112 // static
114 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { 113 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() {
115 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0, 114 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0,
116 NetLogWithSource()); 115 NetLogWithSource());
117 } 116 }
118 117
119 } // namespace test 118 } // namespace test
120 119
121 } // namespace net 120 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc ('k') | net/quic/core/crypto/aes_128_gcm_12_decrypter_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698