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

Unified Diff: chrome/renderer/media/cast_udp_transport.h

Issue 551883004: Cast: Let the extension control if DSCP is on or off. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 6 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 | « chrome/renderer/media/cast_transport_sender_ipc.cc ('k') | chrome/renderer/media/cast_udp_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_udp_transport.h
diff --git a/chrome/renderer/media/cast_udp_transport.h b/chrome/renderer/media/cast_udp_transport.h
index a1aeb6de6565ca9c5f2d4756fb0a4442a3f63f65..ee10c240c2aba1698cffaf579a35c5361d66d93a 100644
--- a/chrome/renderer/media/cast_udp_transport.h
+++ b/chrome/renderer/media/cast_udp_transport.h
@@ -10,6 +10,10 @@
#include "base/memory/weak_ptr.h"
#include "net/base/ip_endpoint.h"
+namespace base {
+class DictionaryValue;
+} // namespace base
+
class CastSession;
// This class represents the transport mechanism used by Cast RTP streams
@@ -23,9 +27,13 @@ class CastUdpTransport {
// Specify the remote IP address and port.
void SetDestination(const net::IPEndPoint& remote_address);
+ // Set options.
+ void SetOptions(scoped_ptr<base::DictionaryValue> options);
+
private:
const scoped_refptr<CastSession> cast_session_;
net::IPEndPoint remote_address_;
+ scoped_ptr<base::DictionaryValue> options_;
base::WeakPtrFactory<CastUdpTransport> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(CastUdpTransport);
« no previous file with comments | « chrome/renderer/media/cast_transport_sender_ipc.cc ('k') | chrome/renderer/media/cast_udp_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698