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

Unified Diff: trunk/src/media/cast/cast_environment.h

Issue 129113003: Revert 243647 "Cast:Adding cast_transport_config and cleaning up" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/media/cast/cast_defines.h ('k') | trunk/src/media/cast/cast_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/cast/cast_environment.h
===================================================================
--- trunk/src/media/cast/cast_environment.h (revision 243647)
+++ trunk/src/media/cast/cast_environment.h (working copy)
@@ -34,8 +34,6 @@
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,
@@ -44,7 +42,6 @@
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
@@ -68,22 +65,21 @@
// 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_;
« no previous file with comments | « trunk/src/media/cast/cast_defines.h ('k') | trunk/src/media/cast/cast_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698