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

Side by Side Diff: media/base/android/webaudio_media_codec_bridge.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
« no previous file with comments | « media/base/android/video_decoder_job.h ('k') | media/base/audio_block_fifo.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_BRIDGE_H_ 5 #ifndef MEDIA_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_BRIDGE_H_
6 #define MEDIA_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_BRIDGE_H_ 6 #define MEDIA_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_BRIDGE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/file_descriptor_posix.h" 12 #include "base/file_descriptor_posix.h"
13 #include "base/macros.h"
13 #include "base/memory/shared_memory.h" 14 #include "base/memory/shared_memory.h"
14 #include "media/base/media_export.h" 15 #include "media/base/media_export.h"
15 16
16 namespace media { 17 namespace media {
17 18
18 // This class serves as a bridge for native code to call Java 19 // This class serves as a bridge for native code to call Java
19 // functions in the Android MediaCodec class. See 20 // functions in the Android MediaCodec class. See
20 // http://developer.android.com/reference/android/media/MediaCodec.html. 21 // http://developer.android.com/reference/android/media/MediaCodec.html.
21 class MEDIA_EXPORT WebAudioMediaCodecBridge { 22 class MEDIA_EXPORT WebAudioMediaCodecBridge {
22 public: 23 public:
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 int pcm_output_; 77 int pcm_output_;
77 78
78 // The length of the encoded data. 79 // The length of the encoded data.
79 uint32_t data_size_; 80 uint32_t data_size_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(WebAudioMediaCodecBridge); 82 DISALLOW_COPY_AND_ASSIGN(WebAudioMediaCodecBridge);
82 }; 83 };
83 84
84 } // namespace media 85 } // namespace media
85 #endif // MEDIA_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_BRIDGE_H_ 86 #endif // MEDIA_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_BRIDGE_H_
OLDNEW
« no previous file with comments | « media/base/android/video_decoder_job.h ('k') | media/base/audio_block_fifo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698