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

Side by Side Diff: content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc

Issue 2673373003: getUserMeida: report device starting states (Closed)
Patch Set: address comments on PS#8 Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/media/video_frame_receiver_on_io_thread. h" 5 #include "content/browser/renderer_host/media/video_frame_receiver_on_io_thread. h"
6 6
7 #include "content/public/browser/browser_thread.h" 7 #include "content/public/browser/browser_thread.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 content::BrowserThread::IO, FROM_HERE, 50 content::BrowserThread::IO, FROM_HERE,
51 base::Bind(&VideoFrameReceiver::OnError, receiver_)); 51 base::Bind(&VideoFrameReceiver::OnError, receiver_));
52 } 52 }
53 53
54 void VideoFrameReceiverOnIOThread::OnLog(const std::string& message) { 54 void VideoFrameReceiverOnIOThread::OnLog(const std::string& message) {
55 content::BrowserThread::PostTask( 55 content::BrowserThread::PostTask(
56 content::BrowserThread::IO, FROM_HERE, 56 content::BrowserThread::IO, FROM_HERE,
57 base::Bind(&VideoFrameReceiver::OnLog, receiver_, message)); 57 base::Bind(&VideoFrameReceiver::OnLog, receiver_, message));
58 } 58 }
59 59
60 void VideoFrameReceiverOnIOThread::OnStarted() {
61 content::BrowserThread::PostTask(
62 content::BrowserThread::IO, FROM_HERE,
63 base::Bind(&VideoFrameReceiver::OnStarted, receiver_));
64 }
65
60 } // namespace content 66 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/video_frame_receiver_on_io_thread.h ('k') | content/renderer/media/video_capture_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698