| 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..72b4ec3de0f910efe6ce42f1f9a18a0420bb80fd
|
| --- /dev/null
|
| +++ b/ppapi/thunk/ppb_media_stream_video_track_api.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright (c) 2012 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_
|
| +#define PPAPI_THUNK_MEDIA_STREAM_VIDEO_TRACK_API_H_
|
| +
|
| +#include "base/memory/ref_counted.h"
|
| +#include "ppapi/c/ppb_media_stream_video_track.h"
|
| +
|
| +namespace ppapi {
|
| +
|
| +class TrackedCallback;
|
| +
|
| +namespace thunk {
|
| +
|
| +class 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 int32_t Close() = 0;
|
| +};
|
| +
|
| +} // namespace thunk
|
| +} // namespace ppapi
|
| +
|
| +#endif // PPAPI_THUNK_MEDIA_STREAM_VIDEO_TRACK_API_H_
|
|
|