| Index: media/cast/cast_environment.h
|
| diff --git a/media/cast/cast_environment.h b/media/cast/cast_environment.h
|
| index 8a135733c04ef3840242c4539b377ad65e175014..31e4f50f1caa3285ed3347b2e6e5ab9ca61bf524 100644
|
| --- a/media/cast/cast_environment.h
|
| +++ b/media/cast/cast_environment.h
|
| @@ -34,6 +34,8 @@ class CastEnvironment : public base::RefCountedThreadSafe<CastEnvironment> {
|
| VIDEO_ENCODER,
|
| // The video decoder thread is where the video decode processing is done.
|
| VIDEO_DECODER,
|
| + // The transport thread is where the transport processing is done.
|
| + TRANSPORT,
|
| };
|
|
|
| CastEnvironment(base::TickClock* clock,
|
| @@ -42,6 +44,7 @@ class CastEnvironment : public base::RefCountedThreadSafe<CastEnvironment> {
|
| scoped_refptr<base::TaskRunner> audio_decode_thread_proxy,
|
| scoped_refptr<base::TaskRunner> video_encode_thread_proxy,
|
| scoped_refptr<base::TaskRunner> video_decode_thread_proxy,
|
| + scoped_refptr<base::TaskRunner> transport_thread_proxy,
|
| const CastLoggingConfig& config);
|
|
|
| // These are the same methods in message_loop.h, but are guaranteed to either
|
| @@ -65,21 +68,22 @@ class CastEnvironment : public base::RefCountedThreadSafe<CastEnvironment> {
|
| // Logging is not thread safe. Should always be called from the main thread.
|
| LoggingImpl* Logging();
|
|
|
| + scoped_refptr<base::TaskRunner> GetMessageTaskRunnerForThread(
|
| + ThreadId identifier);
|
| +
|
| protected:
|
| virtual ~CastEnvironment();
|
|
|
| private:
|
| friend class base::RefCountedThreadSafe<CastEnvironment>;
|
|
|
| - scoped_refptr<base::TaskRunner> GetMessageTaskRunnerForThread(
|
| - ThreadId identifier);
|
| -
|
| base::TickClock* const clock_; // Not owned by this class.
|
| scoped_refptr<base::TaskRunner> main_thread_proxy_;
|
| scoped_refptr<base::TaskRunner> audio_encode_thread_proxy_;
|
| scoped_refptr<base::TaskRunner> audio_decode_thread_proxy_;
|
| scoped_refptr<base::TaskRunner> video_encode_thread_proxy_;
|
| scoped_refptr<base::TaskRunner> video_decode_thread_proxy_;
|
| + scoped_refptr<base::TaskRunner> transport_thread_proxy_;
|
|
|
| scoped_ptr<LoggingImpl> logging_;
|
|
|
|
|