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

Unified Diff: trunk/src/media/cast/cast_thread.cc

Issue 25546003: Revert 226264 "Be able to build cast_unittest and related target..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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_thread.h ('k') | trunk/src/media/cast/congestion_control/congestion_control.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/cast/cast_thread.cc
===================================================================
--- trunk/src/media/cast/cast_thread.cc (revision 226266)
+++ trunk/src/media/cast/cast_thread.cc (working copy)
@@ -25,8 +25,6 @@
DCHECK(main_thread_proxy) << "Main thread required";
}
-CastThread::~CastThread() {}
-
bool CastThread::PostTask(ThreadId identifier,
const tracked_objects::Location& from_here,
const base::Closure& task) {
@@ -59,9 +57,6 @@
return video_encode_thread_proxy_;
case CastThread::VIDEO_DECODER:
return video_decode_thread_proxy_;
- default:
- CHECK(false) << "Invalid Thread ID.";
- return NULL;
}
}
@@ -78,8 +73,7 @@
case CastThread::VIDEO_DECODER:
return video_decode_thread_proxy_->RunsTasksOnCurrentThread();
default:
- CHECK(false) << "Wrong thread identifier";
- return false;
+ DCHECK(false) << "Wrong thread identifier";
}
}
« no previous file with comments | « trunk/src/media/cast/cast_thread.h ('k') | trunk/src/media/cast/congestion_control/congestion_control.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698