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

Side by Side Diff: net/quic/test_tools/failing_proof_source.cc

Issue 2740453006: Add QuicStringPiece which is actually StringPiece. (Closed)
Patch Set: fix compile error and rebase Created 3 years, 9 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/test_tools/failing_proof_source.h ('k') | net/quic/test_tools/fake_proof_source.h » ('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) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2017 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/test_tools/failing_proof_source.h" 5 #include "net/quic/test_tools/failing_proof_source.h"
6 6
7 namespace net { 7 namespace net {
8 namespace test { 8 namespace test {
9 9
10 void FailingProofSource::GetProof(const QuicSocketAddress& server_address, 10 void FailingProofSource::GetProof(const QuicSocketAddress& server_address,
11 const std::string& hostname, 11 const std::string& hostname,
12 const std::string& server_config, 12 const std::string& server_config,
13 QuicVersion quic_version, 13 QuicVersion quic_version,
14 base::StringPiece chlo_hash, 14 QuicStringPiece chlo_hash,
15 const QuicTagVector& connection_options, 15 const QuicTagVector& connection_options,
16 std::unique_ptr<Callback> callback) { 16 std::unique_ptr<Callback> callback) {
17 callback->Run(false, nullptr, QuicCryptoProof(), nullptr); 17 callback->Run(false, nullptr, QuicCryptoProof(), nullptr);
18 } 18 }
19 19
20 } // namespace test 20 } // namespace test
21 } // namespace net 21 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/failing_proof_source.h ('k') | net/quic/test_tools/fake_proof_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698