Chromium Code Reviews| Index: ppapi/thunk/ppb_media_stream_video_track_api.h |
| diff --git a/ppapi/thunk/ppb_media_stream_video_track_api.h b/ppapi/thunk/ppb_media_stream_video_track_api.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a12bc107a819c9a64e712c61728ab6bc832ad2f1 |
| --- /dev/null |
| +++ b/ppapi/thunk/ppb_media_stream_video_track_api.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef PPAPI_THUNK_MEDIA_STREAM_VIDEO_TRACK_API_H_ |
|
bbudge
2014/01/09 01:35:33
should be PPAPI_THUNK_PPB_MEDIA_STREAM_VIDEO_TRACK
Peng
2014/01/09 02:06:52
Oops! Done.
|
| +#define PPAPI_THUNK_MEDIA_STREAM_VIDEO_TRACK_API_H_ |
| + |
| +namespace ppapi { |
| +namespace thunk { |
| + |
| +class PPAPI_THUNK_EXPORT PPB_MediaStreamVideoTrack_API { |
| + public: |
| + virtual ~PPB_MediaStreamVideoTrack_API() {} |
| + virtual PP_Var GetId() = 0; |
| + virtual PP_Bool HasEnded() = 0; |
| + virtual int32_t Configure(uint32_t max_buffered_frames) = 0; |
| + virtual int32_t GetFrame( |
| + PP_Resource* frame, |
| + const scoped_refptr<ppapi::TrackedCallback>& callback) = 0; |
| + virtual int32_t RecycleFrame(PP_Resource frame) = 0; |
| + virtual void Close() = 0; |
| +}; |
| + |
| +} // namespace thunk |
| +} // namespace ppapi |
| + |
| +#endif // PPAPI_THUNK_MEDIA_STREAM_VIDEO_TRACK_API_H_ |