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

Side by Side Diff: net/quic/crypto/proof_test.cc

Issue 1909453005: Cleanup: Migrate references from scoped_ptr to std::unique_ptr. scoped_ptr is now just an alias for… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119581790
Patch Set: Rebase Created 4 years, 8 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
« no previous file with comments | « net/quic/crypto/p256_key_exchange_test.cc ('k') | net/quic/crypto/quic_crypto_client_config.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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>
6
5 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
6 #include "net/base/ip_endpoint.h" 8 #include "net/base/ip_endpoint.h"
7 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
8 #include "net/base/test_completion_callback.h" 10 #include "net/base/test_completion_callback.h"
9 #include "net/base/test_data_directory.h" 11 #include "net/base/test_data_directory.h"
10 #include "net/cert/cert_status_flags.h" 12 #include "net/cert/cert_status_flags.h"
11 #include "net/cert/cert_verify_result.h" 13 #include "net/cert/cert_verify_result.h"
12 #include "net/cert/x509_certificate.h" 14 #include "net/cert/x509_certificate.h"
13 #include "net/quic/crypto/proof_source.h" 15 #include "net/quic/crypto/proof_source.h"
14 #include "net/quic/crypto/proof_verifier.h" 16 #include "net/quic/crypto/proof_verifier.h"
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 for (size_t i = 1; i < certs.size(); i++) { 422 for (size_t i = 1; i < certs.size(); i++) {
421 wrong_certs.push_back(certs[i]); 423 wrong_certs.push_back(certs[i]);
422 } 424 }
423 RunVerification(verifier.get(), hostname, port, server_config, quic_version, 425 RunVerification(verifier.get(), hostname, port, server_config, quic_version,
424 chlo_hash, wrong_certs, signature, false); 426 chlo_hash, wrong_certs, signature, false);
425 } 427 }
426 } 428 }
427 429
428 } // namespace test 430 } // namespace test
429 } // namespace net 431 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/p256_key_exchange_test.cc ('k') | net/quic/crypto/quic_crypto_client_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698