diff options
author | noamsml@google.com <noamsml@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-08 21:23:24 +0000 |
---|---|---|
committer | noamsml@google.com <noamsml@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-08 21:23:24 +0000 |
commit | d9d59d9f96995bab6a2fc212277511f7a0186a94 (patch) | |
tree | ab95dc9e7a17f97e2554fb3b144cc15aab186d35 /media/cast/cast_environment.cc | |
parent | e1f0b85058b95912bf34064e7e9a0ae2cb12d254 (diff) | |
download | chromium_src-d9d59d9f96995bab6a2fc212277511f7a0186a94.zip chromium_src-d9d59d9f96995bab6a2fc212277511f7a0186a94.tar.gz chromium_src-d9d59d9f96995bab6a2fc212277511f7a0186a94.tar.bz2 |
Revert 243647 "Cast:Adding cast_transport_config and cleaning up"
> Cast:Adding cast_transport_config and cleaning up
>
> BUG=327482
>
> Review URL: https://codereview.chromium.org/109413004
TBR=mikhal@chromium.org
Review URL: https://codereview.chromium.org/129113003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243648 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/cast_environment.cc')
-rw-r--r-- | media/cast/cast_environment.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/media/cast/cast_environment.cc b/media/cast/cast_environment.cc index 6b084b1..eac8308 100644 --- a/media/cast/cast_environment.cc +++ b/media/cast/cast_environment.cc @@ -18,7 +18,6 @@ CastEnvironment::CastEnvironment( scoped_refptr<TaskRunner> audio_decode_thread_proxy, scoped_refptr<TaskRunner> video_encode_thread_proxy, scoped_refptr<TaskRunner> video_decode_thread_proxy, - scoped_refptr<TaskRunner> transport_thread_proxy, const CastLoggingConfig& config) : clock_(clock), main_thread_proxy_(main_thread_proxy), @@ -26,7 +25,6 @@ CastEnvironment::CastEnvironment( audio_decode_thread_proxy_(audio_decode_thread_proxy), video_encode_thread_proxy_(video_encode_thread_proxy), video_decode_thread_proxy_(video_decode_thread_proxy), - transport_thread_proxy_(transport_thread_proxy), logging_(new LoggingImpl(main_thread_proxy, config)) { DCHECK(main_thread_proxy) << "Main thread required"; } @@ -65,8 +63,6 @@ scoped_refptr<TaskRunner> CastEnvironment::GetMessageTaskRunnerForThread( return video_encode_thread_proxy_; case CastEnvironment::VIDEO_DECODER: return video_decode_thread_proxy_; - case CastEnvironment::TRANSPORT: - return transport_thread_proxy_; default: NOTREACHED() << "Invalid Thread identifier"; return NULL; @@ -85,8 +81,6 @@ bool CastEnvironment::CurrentlyOn(ThreadId identifier) { return video_encode_thread_proxy_->RunsTasksOnCurrentThread(); case CastEnvironment::VIDEO_DECODER: return video_decode_thread_proxy_->RunsTasksOnCurrentThread(); - case CastEnvironment::TRANSPORT: - return transport_thread_proxy_->RunsTasksOnCurrentThread(); default: NOTREACHED() << "Invalid thread identifier"; return false; |