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

Unified Diff: ppapi/thunk/ppb_media_stream_video_track_api.h

Issue 126823007: [PPAPI] API thunk for video media stream track. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@video_track_thunk
Patch Set: Update Created 6 years, 11 months 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 side-by-side diff with in-line comments
Download patch
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..5888008074d025dcb7bf974ebf7748d1f799c2bd
--- /dev/null
+++ b/ppapi/thunk/ppb_media_stream_video_track_api.h
@@ -0,0 +1,22 @@
+// 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_
+#define PPAPI_THUNK_MEDIA_STREAM_VIDEO_TRACK_API_H_
+
+#include "ppapi/thunk/ppb_media_stream_track_api.h"
+
+namespace ppapi {
+namespace thunk {
+
+class PPB_MediaStreamVideoTrack_API : virtual public PPB_MediaStreamTrack_API{
yzshen1 2014/01/08 17:56:11 - You don't need virtual inheritance here, right?
yzshen1 2014/01/08 17:56:11 Does it need PPAPI_THUNK_EXPORT?
Peng 2014/01/08 18:51:26 Done.
Peng 2014/01/08 18:51:26 I would like to implement some methods of PPB_Medi
yzshen1 2014/01/08 19:01:45 As I comment in the other CL. I think the MediaStr
Peng 2014/01/08 21:48:37 As we discussed offline. Only the MediaStreamBaseS
+ public:
+ virtual ~PPB_MediaStreamVideoTrack_API() {}
+ virtual int32_t Configure(uint32_t max_buffered_frames) = 0;
+};
+
+} // namespace thunk
+} // namespace ppapi
+
+#endif // PPAPI_THUNK_MEDIA_STREAM_VIDEO_TRACK_API_H_

Powered by Google App Engine
This is Rietveld 408576698