OLD | NEW |
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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() { | 60 void VideoFrameReceiverOnIOThread::OnStarted() { |
61 content::BrowserThread::PostTask( | 61 content::BrowserThread::PostTask( |
62 content::BrowserThread::IO, FROM_HERE, | 62 content::BrowserThread::IO, FROM_HERE, |
63 base::Bind(&VideoFrameReceiver::OnStarted, receiver_)); | 63 base::Bind(&VideoFrameReceiver::OnStarted, receiver_)); |
64 } | 64 } |
65 | 65 |
| 66 void VideoFrameReceiverOnIOThread::OnStartedUsingGpuDecode() { |
| 67 content::BrowserThread::PostTask( |
| 68 content::BrowserThread::IO, FROM_HERE, |
| 69 base::Bind(&VideoFrameReceiver::OnStartedUsingGpuDecode, receiver_)); |
| 70 } |
| 71 |
66 } // namespace content | 72 } // namespace content |
OLD | NEW |