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

Unified Diff: media/cast/cast_environment.h

Issue 126843003: Revert of Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « media/cast/cast_defines.h ('k') | media/cast/cast_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_environment.h
diff --git a/media/cast/cast_environment.h b/media/cast/cast_environment.h
index 31e4f50f1caa3285ed3347b2e6e5ab9ca61bf524..8a135733c04ef3840242c4539b377ad65e175014 100644
--- a/media/cast/cast_environment.h
+++ b/media/cast/cast_environment.h
@@ -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,14 +65,14 @@
// 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_;
@@ -83,7 +80,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_;
scoped_ptr<LoggingImpl> logging_;
« no previous file with comments | « media/cast/cast_defines.h ('k') | media/cast/cast_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698