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 "media/gpu/ipc/service/media_gpu_channel.h" | 5 #include "media/gpu/ipc/service/media_gpu_channel.h" |
6 | 6 |
| 7 #include "base/single_thread_task_runner.h" |
7 #include "base/unguessable_token.h" | 8 #include "base/unguessable_token.h" |
8 #include "gpu/ipc/service/gpu_channel.h" | 9 #include "gpu/ipc/service/gpu_channel.h" |
9 #include "ipc/message_filter.h" | 10 #include "ipc/message_filter.h" |
10 #include "media/gpu/ipc/common/media_messages.h" | 11 #include "media/gpu/ipc/common/media_messages.h" |
11 #include "media/gpu/ipc/service/gpu_video_decode_accelerator.h" | 12 #include "media/gpu/ipc/service/gpu_video_decode_accelerator.h" |
12 #include "media/gpu/ipc/service/gpu_video_encode_accelerator.h" | 13 #include "media/gpu/ipc/service/gpu_video_encode_accelerator.h" |
13 | 14 |
14 namespace media { | 15 namespace media { |
15 | 16 |
16 namespace { | 17 namespace { |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 params.output_profile, params.initial_bitrate); | 182 params.output_profile, params.initial_bitrate); |
182 GpuCommandBufferMsg_CreateVideoEncoder::WriteReplyParams(reply_message, | 183 GpuCommandBufferMsg_CreateVideoEncoder::WriteReplyParams(reply_message, |
183 succeeded); | 184 succeeded); |
184 Send(reply_message); | 185 Send(reply_message); |
185 | 186 |
186 // encoder is registered as a DestructionObserver of this stub and will | 187 // encoder is registered as a DestructionObserver of this stub and will |
187 // self-delete during destruction of this stub. | 188 // self-delete during destruction of this stub. |
188 } | 189 } |
189 | 190 |
190 } // namespace media | 191 } // namespace media |
OLD | NEW |