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

Unified Diff: net/tools/flip_server/spdy_util.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/test/embedded_test_server/tcp_listen_socket_unittest.h ('k') | net/tools/flip_server/spdy_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/flip_server/spdy_util.h
diff --git a/net/tools/flip_server/spdy_util.h b/net/tools/flip_server/spdy_util.h
index 6f002000089a2a752fcfab7259e67a5e175988d0..a418b3d0322ab7d6910263556b9df6c41007fa82 100644
--- a/net/tools/flip_server/spdy_util.h
+++ b/net/tools/flip_server/spdy_util.h
@@ -13,7 +13,9 @@ namespace net {
extern bool g_need_to_encode_url;
// Encode the URL.
-std::string EncodeURL(std::string uri, std::string host, std::string method);
+std::string EncodeURL(const std::string& uri,
+ const std::string& host,
+ const std::string& method);
} // namespace net
« no previous file with comments | « net/test/embedded_test_server/tcp_listen_socket_unittest.h ('k') | net/tools/flip_server/spdy_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698