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

Unified Diff: media/cast/transport/cast_transport_config.h

Issue 144033004: Cast: Replace string+int x2 with net::IPEndPoint in CastTransportConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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/sender.cc ('k') | media/cast/transport/cast_transport_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/transport/cast_transport_config.h
diff --git a/media/cast/transport/cast_transport_config.h b/media/cast/transport/cast_transport_config.h
index ccb99796f2a1841b33f94c0c30dbd383114c5652..5b66aa401c85d55a1621b7aacd698571a28684ac 100644
--- a/media/cast/transport/cast_transport_config.h
+++ b/media/cast/transport/cast_transport_config.h
@@ -12,6 +12,7 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "media/cast/transport/cast_transport_defines.h"
+#include "net/base/ip_endpoint.h"
namespace media {
namespace cast {
@@ -38,10 +39,8 @@ struct CastTransportConfig {
~CastTransportConfig();
// Transport: Local receiver.
- std::string receiver_ip_address;
- std::string local_ip_address;
- int receive_port;
- int send_port;
+ net::IPEndPoint receiver_endpoint;
+ net::IPEndPoint local_endpoint;
uint32 audio_ssrc;
uint32 video_ssrc;
« no previous file with comments | « media/cast/test/sender.cc ('k') | media/cast/transport/cast_transport_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698