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

Unified Diff: net/server/http_server_request_info.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/server/http_server.cc ('k') | net/socket/client_socket_pool_base_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/http_server_request_info.cc
diff --git a/net/server/http_server_request_info.cc b/net/server/http_server_request_info.cc
index eda597a992e6b0b1bb2a5d7b9dc2ec68a069582b..08b925f82afe2e85980f9a976f0ae3d8409c56cd 100644
--- a/net/server/http_server_request_info.cc
+++ b/net/server/http_server_request_info.cc
@@ -16,7 +16,7 @@ std::string HttpServerRequestInfo::GetHeaderValue(
headers.find(header_name);
if (it != headers.end())
return it->second;
- return "";
+ return std::string();
}
} // namespace net
« no previous file with comments | « net/server/http_server.cc ('k') | net/socket/client_socket_pool_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698