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

Side by Side Diff: media/gpu/ipc/service/media_channel.h

Issue 1939683002: Test X11 header pollution (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 #ifndef CONTENT_COMMON_GPU_MEDIA_MEDIA_CHANNEL_H_ 5 #ifndef MEDIA_GPU_IPC_SERVICE_MEDIA_CHANNEL_H_
6 #define CONTENT_COMMON_GPU_MEDIA_MEDIA_CHANNEL_H_ 6 #define MEDIA_GPU_IPC_SERVICE_MEDIA_CHANNEL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "content/common/gpu/media/gpu_jpeg_decode_accelerator.h"
11 #include "ipc/ipc_listener.h" 10 #include "ipc/ipc_listener.h"
12 #include "ipc/ipc_sender.h" 11 #include "ipc/ipc_sender.h"
12 #include "media/gpu/ipc/service/gpu_jpeg_decode_accelerator.h"
13 #include "media/video/video_decode_accelerator.h" 13 #include "media/video/video_decode_accelerator.h"
14 14
15 namespace media { 15 namespace media {
16 struct CreateVideoEncoderParams; 16 struct CreateVideoEncoderParams;
17 } 17 }
18 18
19 namespace gpu { 19 namespace gpu {
20 class GpuChannel; 20 class GpuChannel;
21 class GpuCommandBufferStub; 21 class GpuCommandBufferStub;
22 } 22 }
23 23
24 namespace content { 24 namespace media {
25 25
26 class MediaChannelDispatchHelper; 26 class MediaChannelDispatchHelper;
27 27
28 class MediaChannel : public IPC::Listener, public IPC::Sender { 28 class MediaChannel : public IPC::Listener, public IPC::Sender {
29 public: 29 public:
30 explicit MediaChannel(gpu::GpuChannel* channel); 30 explicit MediaChannel(gpu::GpuChannel* channel);
31 ~MediaChannel() override; 31 ~MediaChannel() override;
32 32
33 // IPC::Sender implementation: 33 // IPC::Sender implementation:
34 bool Send(IPC::Message* msg) override; 34 bool Send(IPC::Message* msg) override;
(...skipping 12 matching lines...) Expand all
47 IPC::Message* reply_message); 47 IPC::Message* reply_message);
48 void OnCreateVideoEncoder(int32_t command_buffer_route_id, 48 void OnCreateVideoEncoder(int32_t command_buffer_route_id,
49 const media::CreateVideoEncoderParams& params, 49 const media::CreateVideoEncoderParams& params,
50 IPC::Message* reply_message); 50 IPC::Message* reply_message);
51 51
52 gpu::GpuChannel* const channel_; 52 gpu::GpuChannel* const channel_;
53 std::unique_ptr<GpuJpegDecodeAccelerator> jpeg_decoder_; 53 std::unique_ptr<GpuJpegDecodeAccelerator> jpeg_decoder_;
54 DISALLOW_COPY_AND_ASSIGN(MediaChannel); 54 DISALLOW_COPY_AND_ASSIGN(MediaChannel);
55 }; 55 };
56 56
57 } // namespace content 57 } // namespace media
58 58
59 #endif // CONTENT_COMMON_GPU_MEDIA_MEDIA_CHANNEL_H_ 59 #endif // MEDIA_GPU_IPC_SERVICE_MEDIA_CHANNEL_H_
OLDNEW
« no previous file with comments | « media/gpu/ipc/service/gpu_video_encode_accelerator.cc ('k') | media/gpu/ipc/service/media_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698