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

Unified Diff: media/cast/net/cast_transport_sender_impl.h

Issue 566243005: Cast: Allow extension to control wifi options on windows (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 | « no previous file | media/cast/net/cast_transport_sender_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/cast_transport_sender_impl.h
diff --git a/media/cast/net/cast_transport_sender_impl.h b/media/cast/net/cast_transport_sender_impl.h
index 1eb8bca1caedb5d07e6e30e429f9f4d49650c5b9..cff5561e2838b785df40d646782027249f7f9dff 100644
--- a/media/cast/net/cast_transport_sender_impl.h
+++ b/media/cast/net/cast_transport_sender_impl.h
@@ -56,11 +56,14 @@ class CastTransportSenderImpl : public CastTransportSender {
// |raw_events_callback| is a null callback.
// |options| contains optional settings for the transport, possible
// keys are:
- // "DSCP" (value doesn't matter) - turns DSCP on
+ // "DSCP" (value ignored) - turns DSCP on
// "pacer_target_burst_size": int - specifies how many packets to send
// per 10 ms ideally.
// "pacer_max_burst_size": int - specifies how many pakcets to send
// per 10 ms, max
+ // "disable_wifi_scan" (value ignored) - disable wifi scans while streaming
+ // "media_streaming_mode" (value ignored) - turn media streaming mode on
+ // Note, these options may be ignored on some platforms.
CastTransportSenderImpl(
net::NetLog* net_log,
base::TickClock* clock,
@@ -165,6 +168,8 @@ class CastTransportSenderImpl : public CastTransportSender {
// audio packet.
int64 last_byte_acked_for_audio_;
+ scoped_ptr<net::ScopedWifiOptions> wifi_options_autoreset_;
+
base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl);
« no previous file with comments | « no previous file | media/cast/net/cast_transport_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698