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

Side by Side Diff: ppapi/shared_impl/media_stream_buffer.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 PPAPI_SHARED_IMPL_MEDIA_STREAM_BUFFER_H_ 5 #ifndef PPAPI_SHARED_IMPL_MEDIA_STREAM_BUFFER_H_
6 #define PPAPI_SHARED_IMPL_MEDIA_STREAM_BUFFER_H_ 6 #define PPAPI_SHARED_IMPL_MEDIA_STREAM_BUFFER_H_
7 7
8 #include <stdint.h>
9
8 #include "ppapi/c/ppb_audio_buffer.h" 10 #include "ppapi/c/ppb_audio_buffer.h"
9 #include "ppapi/c/ppb_video_frame.h" 11 #include "ppapi/c/ppb_video_frame.h"
10 12
11 namespace ppapi { 13 namespace ppapi {
12 14
13 union MediaStreamBuffer { 15 union MediaStreamBuffer {
14 enum Type { 16 enum Type {
15 TYPE_UNKNOWN = 0, 17 TYPE_UNKNOWN = 0,
16 TYPE_AUDIO = 1, 18 TYPE_AUDIO = 1,
17 TYPE_VIDEO = 2, 19 TYPE_VIDEO = 2,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 66
65 Header header; 67 Header header;
66 Video video; 68 Video video;
67 Audio audio; 69 Audio audio;
68 Bitstream bitstream; 70 Bitstream bitstream;
69 }; 71 };
70 72
71 } // namespace ppapi 73 } // namespace ppapi
72 74
73 #endif // PPAPI_SHARED_IMPL_MEDIA_STREAM_BUFFER_H_ 75 #endif // PPAPI_SHARED_IMPL_MEDIA_STREAM_BUFFER_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/media_stream_audio_track_shared.h ('k') | ppapi/shared_impl/media_stream_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698