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

Unified Diff: net/quic/core/frames/quic_stream_frame.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/frames/quic_stream_frame.h ('k') | net/quic/core/quic_client_session_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/frames/quic_stream_frame.cc
diff --git a/net/quic/core/frames/quic_stream_frame.cc b/net/quic/core/frames/quic_stream_frame.cc
index 58ec40e515390eec4b33e4472f8892985f9bca11..ba3463965a149129ccc194a187e2d93ea5ee5912 100644
--- a/net/quic/core/frames/quic_stream_frame.cc
+++ b/net/quic/core/frames/quic_stream_frame.cc
@@ -6,8 +6,6 @@
#include "net/quic/platform/api/quic_logging.h"
-using base::StringPiece;
-
namespace net {
void StreamBufferDeleter::operator()(char* buffer) const {
@@ -28,7 +26,7 @@ QuicStreamFrame::QuicStreamFrame()
QuicStreamFrame::QuicStreamFrame(QuicStreamId stream_id,
bool fin,
QuicStreamOffset offset,
- StringPiece data)
+ QuicStringPiece data)
: QuicStreamFrame(stream_id,
fin,
offset,
« no previous file with comments | « net/quic/core/frames/quic_stream_frame.h ('k') | net/quic/core/quic_client_session_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698