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/public/cpp/receiver_media_to_mojo_adapter.h" | 5 #include "services/video_capture/public/cpp/receiver_media_to_mojo_adapter.h" |
6 | 6 |
7 #include "media/capture/video/shared_memory_buffer_tracker.h" | 7 #include "media/capture/video/shared_memory_buffer_tracker.h" |
8 #include "mojo/public/cpp/bindings/strong_binding.h" | 8 #include "mojo/public/cpp/bindings/strong_binding.h" |
9 #include "mojo/public/cpp/system/platform_handle.h" | 9 #include "mojo/public/cpp/system/platform_handle.h" |
10 | 10 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 } | 102 } |
103 | 103 |
104 void ReceiverMediaToMojoAdapter::OnError() { | 104 void ReceiverMediaToMojoAdapter::OnError() { |
105 receiver_->OnError(); | 105 receiver_->OnError(); |
106 } | 106 } |
107 | 107 |
108 void ReceiverMediaToMojoAdapter::OnLog(const std::string& message) { | 108 void ReceiverMediaToMojoAdapter::OnLog(const std::string& message) { |
109 receiver_->OnLog(message); | 109 receiver_->OnLog(message); |
110 } | 110 } |
111 | 111 |
| 112 void ReceiverMediaToMojoAdapter::OnStarted() { |
| 113 receiver_->OnStarted(); |
| 114 } |
| 115 |
| 116 void ReceiverMediaToMojoAdapter::OnStartedUsingGpuDecode() { |
| 117 receiver_->OnStartedUsingGpuDecode(); |
| 118 } |
| 119 |
112 } // namespace video_capture | 120 } // namespace video_capture |
OLD | NEW |