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

Unified Diff: content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc

Issue 2673373003: getUserMeida: report device starting states (Closed)
Patch Set: Created 3 years, 10 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
Index: content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc
diff --git a/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc b/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc
index d9f4a3f0cfa3fc1e0f53506c16f81af63f47567d..795436a6216220f910e2987ae49b7554e94352f0 100644
--- a/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc
+++ b/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc
@@ -35,6 +35,12 @@ void VideoFrameReceiverOnIOThread::OnLog(const std::string& message) {
base::Bind(&VideoFrameReceiver::OnLog, receiver_, message));
}
+void VideoFrameReceiverOnIOThread::OnStarted() {
+ content::BrowserThread::PostTask(
+ content::BrowserThread::IO, FROM_HERE,
+ base::Bind(&VideoFrameReceiver::OnStarted, receiver_));
+}
+
void VideoFrameReceiverOnIOThread::OnBufferDestroyed(int buffer_id_to_drop) {
content::BrowserThread::PostTask(
content::BrowserThread::IO, FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698