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/spdy/spdy_pinnable_buffer_piece_test.cc

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/spdy/spdy_alt_svc_wire_format_test.cc ('k') | net/spdy/spdy_prefixed_buffer_reader_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_pinnable_buffer_piece_test.cc
diff --git a/net/spdy/spdy_pinnable_buffer_piece_test.cc b/net/spdy/spdy_pinnable_buffer_piece_test.cc
index 456e4a86defe745a7ee3471b97c4c90a48b0ab7a..3101f5ea239ea9220b9dbb0039c7318a715af71b 100644
--- a/net/spdy/spdy_pinnable_buffer_piece_test.cc
+++ b/net/spdy/spdy_pinnable_buffer_piece_test.cc
@@ -15,7 +15,8 @@ using base::StringPiece;
class SpdyPinnableBufferPieceTest : public ::testing::Test {
protected:
- SpdyPrefixedBufferReader Build(std::string prefix, std::string suffix) {
+ SpdyPrefixedBufferReader Build(const std::string& prefix,
+ const std::string& suffix) {
prefix_ = prefix;
suffix_ = suffix;
return SpdyPrefixedBufferReader(prefix_.data(), prefix_.length(),
« no previous file with comments | « net/spdy/spdy_alt_svc_wire_format_test.cc ('k') | net/spdy/spdy_prefixed_buffer_reader_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698