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

Unified Diff: media/cast/test/sender.cc

Issue 1360523002: Cleanup: Pass std::string as const reference from media/ (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 | « media/cast/test/receiver.cc ('k') | media/cast/test/utility/input_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/sender.cc
diff --git a/media/cast/test/sender.cc b/media/cast/test/sender.cc
index c8168be5a50a011b133793fea6ab60ea821daa0a..c7b899993089fd8efd54794be652198cc2ed7e39 100644
--- a/media/cast/test/sender.cc
+++ b/media/cast/test/sender.cc
@@ -107,7 +107,7 @@ void QuitLoopOnInitializationResult(media::cast::OperationalStatus result) {
base::MessageLoop::current()->Quit();
}
-net::IPEndPoint CreateUDPAddress(std::string ip_str, uint16 port) {
+net::IPEndPoint CreateUDPAddress(const std::string& ip_str, uint16 port) {
net::IPAddressNumber ip_number;
CHECK(net::ParseIPLiteralToNumber(ip_str, &ip_number));
return net::IPEndPoint(ip_number, port);
« no previous file with comments | « media/cast/test/receiver.cc ('k') | media/cast/test/utility/input_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698