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

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

Issue 2061823003: media: Drop "media::" in media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: work around clang format by adding an empty line Created 4 years, 6 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 MEDIA_GPU_IPC_SERVICE_MEDIA_CHANNEL_H_ 5 #ifndef MEDIA_GPU_IPC_SERVICE_MEDIA_CHANNEL_H_
6 #define MEDIA_GPU_IPC_SERVICE_MEDIA_CHANNEL_H_ 6 #define MEDIA_GPU_IPC_SERVICE_MEDIA_CHANNEL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ipc/ipc_listener.h" 10 #include "ipc/ipc_listener.h"
(...skipping 24 matching lines...) Expand all
35 35
36 private: 36 private:
37 friend class MediaChannelDispatchHelper; 37 friend class MediaChannelDispatchHelper;
38 38
39 // IPC::Listener implementation: 39 // IPC::Listener implementation:
40 bool OnMessageReceived(const IPC::Message& message) override; 40 bool OnMessageReceived(const IPC::Message& message) override;
41 41
42 // Message handlers. 42 // Message handlers.
43 void OnCreateJpegDecoder(int32_t route_id, IPC::Message* reply_msg); 43 void OnCreateJpegDecoder(int32_t route_id, IPC::Message* reply_msg);
44 void OnCreateVideoDecoder(int32_t command_buffer_route_id, 44 void OnCreateVideoDecoder(int32_t command_buffer_route_id,
45 const media::VideoDecodeAccelerator::Config& config, 45 const VideoDecodeAccelerator::Config& config,
46 int32_t route_id, 46 int32_t route_id,
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 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 media 57 } // namespace media
58 58
59 #endif // MEDIA_GPU_IPC_SERVICE_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