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

Side by Side Diff: net/quic/chromium/crypto/proof_source_chromium.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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 "net/quic/chromium/crypto/proof_source_chromium.h" 5 #include "net/quic/chromium/crypto/proof_source_chromium.h"
6 6
7 #include <openssl/digest.h> 7 #include <openssl/digest.h>
8 #include <openssl/evp.h> 8 #include <openssl/evp.h>
9 #include <openssl/rsa.h> 9 #include <openssl/rsa.h>
10 10
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "crypto/openssl_util.h" 12 #include "crypto/openssl_util.h"
13 #include "net/quic/crypto/crypto_protocol.h" 13 #include "net/quic/core/crypto/crypto_protocol.h"
14 #include "net/ssl/scoped_openssl_types.h" 14 #include "net/ssl/scoped_openssl_types.h"
15 15
16 using std::string; 16 using std::string;
17 using std::vector; 17 using std::vector;
18 18
19 namespace net { 19 namespace net {
20 20
21 ProofSourceChromium::ProofSourceChromium() {} 21 ProofSourceChromium::ProofSourceChromium() {}
22 22
23 ProofSourceChromium::~ProofSourceChromium() {} 23 ProofSourceChromium::~ProofSourceChromium() {}
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 scoped_refptr<ProofSource::Chain> chain; 163 scoped_refptr<ProofSource::Chain> chain;
164 string signature; 164 string signature;
165 string leaf_cert_sct; 165 string leaf_cert_sct;
166 const bool ok = 166 const bool ok =
167 GetProof(server_ip, hostname, server_config, quic_version, chlo_hash, 167 GetProof(server_ip, hostname, server_config, quic_version, chlo_hash,
168 ecdsa_ok, &chain, &signature, &leaf_cert_sct); 168 ecdsa_ok, &chain, &signature, &leaf_cert_sct);
169 callback->Run(ok, chain, signature, leaf_cert_sct, nullptr /* details */); 169 callback->Run(ok, chain, signature, leaf_cert_sct, nullptr /* details */);
170 } 170 }
171 171
172 } // namespace net 172 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/crypto/proof_source_chromium.h ('k') | net/quic/chromium/crypto/proof_verifier_chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698