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

Unified Diff: net/quic/quic_http_stream_test.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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/proxy/proxy_service_unittest.cc ('k') | net/quic/quic_packet_creator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_http_stream_test.cc
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc
index f3f4c33c765a323db993aa37c7ff224e099b4d56..1370ced7d1785f6e57d6fc9295d1913cf270fa90 100644
--- a/net/quic/quic_http_stream_test.cc
+++ b/net/quic/quic_http_stream_test.cc
@@ -348,7 +348,7 @@ TEST_F(QuicHttpStreamTest, GetRequest) {
stream_->ReadResponseHeaders(callback_.callback()));
// Send the response without a body.
- SetResponseString("404 Not Found", "");
+ SetResponseString("404 Not Found", std::string());
scoped_ptr<QuicEncryptedPacket> resp(
ConstructDataPacket(2, false, kFin, 0, response_data_));
ProcessPacket(*resp);
@@ -440,7 +440,7 @@ TEST_F(QuicHttpStreamTest, SendPostRequest) {
ProcessPacket(*ack);
// Send the response headers (but not the body).
- SetResponseString("200 OK", "");
+ SetResponseString("200 OK", std::string());
scoped_ptr<QuicEncryptedPacket> resp(
ConstructDataPacket(2, false, !kFin, 0, response_data_));
ProcessPacket(*resp);
@@ -502,7 +502,7 @@ TEST_F(QuicHttpStreamTest, SendChunkedPostRequest) {
ProcessPacket(*ack);
// Send the response headers (but not the body).
- SetResponseString("200 OK", "");
+ SetResponseString("200 OK", std::string());
scoped_ptr<QuicEncryptedPacket> resp(
ConstructDataPacket(2, false, !kFin, 0, response_data_));
ProcessPacket(*resp);
« no previous file with comments | « net/proxy/proxy_service_unittest.cc ('k') | net/quic/quic_packet_creator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698