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 "services/video_capture/receiver_mojo_to_media_adapter.h" | 5 #include "services/video_capture/receiver_mojo_to_media_adapter.h" |
6 | 6 |
7 namespace video_capture { | 7 namespace video_capture { |
8 | 8 |
9 ReceiverMojoToMediaAdapter::ReceiverMojoToMediaAdapter( | 9 ReceiverMojoToMediaAdapter::ReceiverMojoToMediaAdapter( |
10 mojom::ReceiverPtr receiver) | 10 mojom::ReceiverPtr receiver) |
(...skipping 19 matching lines...) Expand all Loading... |
30 } | 30 } |
31 | 31 |
32 void ReceiverMojoToMediaAdapter::OnError() { | 32 void ReceiverMojoToMediaAdapter::OnError() { |
33 receiver_->OnError(); | 33 receiver_->OnError(); |
34 } | 34 } |
35 | 35 |
36 void ReceiverMojoToMediaAdapter::OnLog(const std::string& message) { | 36 void ReceiverMojoToMediaAdapter::OnLog(const std::string& message) { |
37 receiver_->OnLog(message); | 37 receiver_->OnLog(message); |
38 } | 38 } |
39 | 39 |
| 40 void ReceiverMojoToMediaAdapter::OnStarted() { |
| 41 receiver_->OnStarted(); |
| 42 } |
| 43 |
40 void ReceiverMojoToMediaAdapter::OnBufferRetired(int buffer_id) { | 44 void ReceiverMojoToMediaAdapter::OnBufferRetired(int buffer_id) { |
41 NOTIMPLEMENTED(); | 45 NOTIMPLEMENTED(); |
42 } | 46 } |
43 | 47 |
44 } // namespace video_capture | 48 } // namespace video_capture |
OLD | NEW |