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

Unified Diff: net/quic/core/quic_header_list.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/core/quic_header_list.h ('k') | net/quic/core/quic_headers_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_header_list.cc
diff --git a/net/quic/core/quic_header_list.cc b/net/quic/core/quic_header_list.cc
index 8b71fe7aeea9b9527bc67f0282a60f025d3340c8..ad8f999b2cf81eec17afc5fa47fb24e174308ca9 100644
--- a/net/quic/core/quic_header_list.cc
+++ b/net/quic/core/quic_header_list.cc
@@ -31,7 +31,7 @@ void QuicHeaderList::OnHeaderBlockStart() {
<< "OnHeaderBlockStart called more than once!";
}
-void QuicHeaderList::OnHeader(base::StringPiece name, base::StringPiece value) {
+void QuicHeaderList::OnHeader(QuicStringPiece name, QuicStringPiece value) {
// Avoid infinte buffering of headers. No longer store headers
// once the current headers are over the limit.
if (uncompressed_header_bytes_ == 0 || !header_list_.empty()) {
« no previous file with comments | « net/quic/core/quic_header_list.h ('k') | net/quic/core/quic_headers_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698