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

Unified Diff: net/quic/core/quic_header_list.h

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_framer_test.cc ('k') | net/quic/core/quic_header_list.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.h
diff --git a/net/quic/core/quic_header_list.h b/net/quic/core/quic_header_list.h
index fb20a6ba2845159fa7facbcf61d6b2989962f1b4..07aaeac39010ebd3eed0aecab77e1d5f14b41fad 100644
--- a/net/quic/core/quic_header_list.h
+++ b/net/quic/core/quic_header_list.h
@@ -9,9 +9,9 @@
#include <deque>
#include <functional>
-#include "base/strings/string_piece.h"
#include "net/quic/platform/api/quic_bug_tracker.h"
#include "net/quic/platform/api/quic_export.h"
+#include "net/quic/platform/api/quic_string_piece.h"
#include "net/spdy/spdy_header_block.h"
#include "net/spdy/spdy_headers_handler_interface.h"
@@ -32,7 +32,7 @@ class QUIC_EXPORT_PRIVATE QuicHeaderList : public SpdyHeadersHandlerInterface {
// From SpdyHeadersHandlerInteface.
void OnHeaderBlockStart() override;
- void OnHeader(base::StringPiece name, base::StringPiece value) override;
+ void OnHeader(QuicStringPiece name, QuicStringPiece value) override;
void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override;
void OnHeaderBlockEnd(size_t uncompressed_header_bytes,
size_t compressed_header_bytes) override;
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | net/quic/core/quic_header_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698