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

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

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DEMUXER_STREAM_ADAPTER_H_ 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_DEMUXER_STREAM_ADAPTER_H_
6 #define MEDIA_MOJO_SERVICES_MOJO_DEMUXER_STREAM_ADAPTER_H_ 6 #define MEDIA_MOJO_SERVICES_MOJO_DEMUXER_STREAM_ADAPTER_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
11 #include "media/base/audio_decoder_config.h" 12 #include "media/base/audio_decoder_config.h"
12 #include "media/base/demuxer_stream.h" 13 #include "media/base/demuxer_stream.h"
13 #include "media/base/video_decoder_config.h" 14 #include "media/base/video_decoder_config.h"
14 #include "media/mojo/interfaces/demuxer_stream.mojom.h" 15 #include "media/mojo/interfaces/demuxer_stream.mojom.h"
15 16
16 namespace media { 17 namespace media {
17 18
18 // This class acts as a MojoRendererService-side stub for a real DemuxerStream 19 // This class acts as a MojoRendererService-side stub for a real DemuxerStream
19 // that is part of a Pipeline in a remote application. Roughly speaking, it 20 // that is part of a Pipeline in a remote application. Roughly speaking, it
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // DataPipe for deserializing the data section of DecoderBuffers from. 78 // DataPipe for deserializing the data section of DecoderBuffers from.
78 mojo::ScopedDataPipeConsumerHandle stream_pipe_; 79 mojo::ScopedDataPipeConsumerHandle stream_pipe_;
79 80
80 base::WeakPtrFactory<MojoDemuxerStreamAdapter> weak_factory_; 81 base::WeakPtrFactory<MojoDemuxerStreamAdapter> weak_factory_;
81 DISALLOW_COPY_AND_ASSIGN(MojoDemuxerStreamAdapter); 82 DISALLOW_COPY_AND_ASSIGN(MojoDemuxerStreamAdapter);
82 }; 83 };
83 84
84 } // namespace media 85 } // namespace media
85 86
86 #endif // MEDIA_MOJO_SERVICES_MOJO_DEMUXER_STREAM_ADAPTER_H_ 87 #endif // MEDIA_MOJO_SERVICES_MOJO_DEMUXER_STREAM_ADAPTER_H_
OLDNEW
« no previous file with comments | « media/mojo/services/demuxer_stream_provider_shim.h ('k') | media/mojo/services/mojo_renderer_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698