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

Unified Diff: net/quic/quartc/quartc_session.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/platform/impl/quic_url_utils_impl.cc ('k') | net/quic/quartc/quartc_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quartc/quartc_session.cc
diff --git a/net/quic/quartc/quartc_session.cc b/net/quic/quartc/quartc_session.cc
index 3664d893f611980b6d8c397ea28adddf7a214b7a..826e4d6e3a0b67915ba90193e3c91f20d6ac91e1 100644
--- a/net/quic/quartc/quartc_session.cc
+++ b/net/quic/quartc/quartc_session.cc
@@ -5,6 +5,7 @@
#include "net/quic/quartc/quartc_session.h"
#include "base/rand_util.h"
+#include "net/quic/platform/api/quic_string_piece.h"
namespace {
@@ -32,7 +33,7 @@ class DummyProofSource : public net::ProofSource {
const std::string& hostname,
const std::string& server_config,
net::QuicVersion quic_version,
- base::StringPiece chlo_hash,
+ net::QuicStringPiece chlo_hash,
const net::QuicTagVector& connection_options,
std::unique_ptr<Callback> callback) override {
net::QuicReferenceCountedPointer<net::ProofSource::Chain> chain;
@@ -60,7 +61,7 @@ class InsecureProofVerifier : public net::ProofVerifier {
const uint16_t port,
const std::string& server_config,
net::QuicVersion quic_version,
- base::StringPiece chlo_hash,
+ net::QuicStringPiece chlo_hash,
const std::vector<std::string>& certs,
const std::string& cert_sct,
const std::string& signature,
« no previous file with comments | « net/quic/platform/impl/quic_url_utils_impl.cc ('k') | net/quic/quartc/quartc_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698