Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PPAPI_SHARED_IMPL_MEDIA_STREAM_AUDIO_TRACK_SHARED_H_ | |
| 6 #define PPAPI_SHARED_IMPL_MEDIA_STREAM_AUDIO_TRACK_SHARED_H_ | |
| 7 | |
| 8 #include "ppapi/c/ppb_audio_buffer.h" | |
|
Peng
2014/05/27 14:35:49
I think this header file is for int32_t? consider
thembrown
2014/05/27 17:11:23
Done.
thembrown
2014/05/28 10:55:59
Reverted. It's for PPAPI_SHARED_EXPORT.
| |
| 9 #include "ppapi/shared_impl/ppapi_shared_export.h" | |
| 10 | |
| 11 namespace ppapi { | |
| 12 | |
| 13 class PPAPI_SHARED_EXPORT MediaStreamAudioTrackShared { | |
| 14 public: | |
| 15 struct Attributes { | |
| 16 Attributes() | |
| 17 : buffers(0) {} | |
|
Peng
2014/05/27 14:35:49
It can be fit into one line.
thembrown
2014/05/27 17:11:23
Done.
| |
| 18 int32_t buffers; | |
| 19 }; | |
| 20 | |
| 21 static bool VerifyAttributes(const Attributes& attributes); | |
| 22 }; | |
| 23 | |
| 24 } // namespace ppapi | |
| 25 | |
| 26 #endif // PPAPI_SHARED_IMPL_MEDIA_STREAM_AUDIO_TRACK_SHARED_H_ | |
| OLD | NEW |