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

Side by Side Diff: media/mojo/services/mojo_video_decoder_service.h

Issue 2656583002: Remove unused typemap includes from generated C++ mojo bindings. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « device/usb/mojo/type_converters.h ('k') | mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_MOJO_SERVICES_MOJO_VIDEO_DECODER_SERVICE_H_ 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_VIDEO_DECODER_SERVICE_H_
6 #define MEDIA_MOJO_SERVICES_MOJO_VIDEO_DECODER_SERVICE_H_ 6 #define MEDIA_MOJO_SERVICES_MOJO_VIDEO_DECODER_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "media/base/decode_status.h" 12 #include "media/base/decode_status.h"
13 #include "media/mojo/interfaces/video_decoder.mojom.h" 13 #include "media/mojo/interfaces/video_decoder.mojom.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 class DecoderBuffer;
17 class MojoDecoderBufferReader; 18 class MojoDecoderBufferReader;
18 class MojoMediaClient; 19 class MojoMediaClient;
19 class VideoDecoder; 20 class VideoDecoder;
20 class VideoFrame; 21 class VideoFrame;
21 22
22 // Implementation of a mojom::VideoDecoder which runs in the GPU process, 23 // Implementation of a mojom::VideoDecoder which runs in the GPU process,
23 // and wraps a media::VideoDecoder. 24 // and wraps a media::VideoDecoder.
24 class MojoVideoDecoderService : public mojom::VideoDecoder { 25 class MojoVideoDecoderService : public mojom::VideoDecoder {
25 public: 26 public:
26 explicit MojoVideoDecoderService(MojoMediaClient* mojo_media_client); 27 explicit MojoVideoDecoderService(MojoMediaClient* mojo_media_client);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 59
59 base::WeakPtr<MojoVideoDecoderService> weak_this_; 60 base::WeakPtr<MojoVideoDecoderService> weak_this_;
60 base::WeakPtrFactory<MojoVideoDecoderService> weak_factory_; 61 base::WeakPtrFactory<MojoVideoDecoderService> weak_factory_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(MojoVideoDecoderService); 63 DISALLOW_COPY_AND_ASSIGN(MojoVideoDecoderService);
63 }; 64 };
64 65
65 } // namespace media 66 } // namespace media
66 67
67 #endif // MEDIA_MOJO_SERVICES_MOJO_VIDEO_DECODER_SERVICE_H_ 68 #endif // MEDIA_MOJO_SERVICES_MOJO_VIDEO_DECODER_SERVICE_H_
OLDNEW
« no previous file with comments | « device/usb/mojo/type_converters.h ('k') | mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698