| 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..6f319e65b0857071f60787dc49d0f7cfd34835c6 100644
|
| --- a/media/cast/net/cast_transport_sender_impl.h
|
| +++ b/media/cast/net/cast_transport_sender_impl.h
|
| @@ -26,6 +26,7 @@
|
|
|
| #include "base/callback.h"
|
| #include "base/gtest_prod_util.h"
|
| +#include "base/memory/lifetime_interface.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| @@ -56,11 +57,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 +169,8 @@ class CastTransportSenderImpl : public CastTransportSender {
|
| // audio packet.
|
| int64 last_byte_acked_for_audio_;
|
|
|
| + scoped_ptr<base::LifetimeInterface> wifi_options_autoreset_;
|
| +
|
| base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl);
|
|
|