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

Unified Diff: net/quic/quic_stream_sequencer.h

Issue 1346943004: Cleanup: Pass std::string as const reference from net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/crypto/crypto_server_config_protobuf.h ('k') | net/quic/quic_stream_sequencer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_sequencer.h
diff --git a/net/quic/quic_stream_sequencer.h b/net/quic/quic_stream_sequencer.h
index 8a2e4d87c67e9512d1fe39b36d84787fadfc8f7e..60a950b3bcd94459346c8f9ca2f2ae2ec8ea6bbf 100644
--- a/net/quic/quic_stream_sequencer.h
+++ b/net/quic/quic_stream_sequencer.h
@@ -27,7 +27,7 @@ class NET_EXPORT_PRIVATE QuicStreamSequencer {
public:
// A contiguous segment received by a QUIC stream.
struct FrameData {
- FrameData(QuicStreamOffset offset, std::string segment);
+ FrameData(QuicStreamOffset offset, const std::string& segment);
const QuicStreamOffset offset;
std::string segment;
« no previous file with comments | « net/quic/crypto/crypto_server_config_protobuf.h ('k') | net/quic/quic_stream_sequencer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698