Chromium Code Reviews| Index: ppapi/thunk/ppb_video_destination_private_api.h |
| diff --git a/ppapi/thunk/ppb_video_destination_private_api.h b/ppapi/thunk/ppb_video_destination_private_api.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..08853fadb037eb23b2b4f3f7ee33c5f88d9afc93 |
| --- /dev/null |
| +++ b/ppapi/thunk/ppb_video_destination_private_api.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright (c) 2013 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_PPB_VIDEO_DESTINATION_PRIVATE_API_H_ |
| +#define PPAPI_THUNK_PPB_VIDEO_DESTINATION_PRIVATE_API_H_ |
| + |
| +#include "base/memory/ref_counted.h" |
| +#include "ppapi/thunk/ppapi_thunk_export.h" |
| + |
| +struct PP_VideoFrame_Private; |
| + |
| +namespace ppapi { |
| + |
| +class TrackedCallback; |
| + |
| +namespace thunk { |
| + |
| +class PPAPI_THUNK_EXPORT PPB_VideoDestination_Private_API { |
| + public: |
| + virtual ~PPB_VideoDestination_Private_API() {} |
| + |
| + virtual int32_t Open(PP_Var stream_url, |
|
yzshen1
2013/05/01 23:18:33
nit: please use const &
bbudge
2013/05/02 21:39:06
Done.
|
| + scoped_refptr<TrackedCallback> callback) = 0; |
| + virtual int32_t PutFrame(const PP_VideoFrame_Private& frame) = 0; |
| + virtual void Close() = 0; |
| +}; |
| + |
| +} // namespace thunk |
| +} // namespace ppapi |
| + |
| +#endif // PPAPI_THUNK_PPB_VIDEO_DESTINATION_PRIVATE_API_H_ |