1 // Copyright (c) 2013 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.
5 #ifndef PAPPI_TESTS_TEST_VIDEO_SOURCE_H_
6 #define PAPPI_TESTS_TEST_VIDEO_SOURCE_H_
10 #include "ppapi/c/ppb_core.h"
11 #include "ppapi/c/private/ppb_video_source_private.h"
12 #include "ppapi/tests/test_case.h"
14 class TestVideoSource
: public TestCase
{
16 explicit TestVideoSource(TestingInstance
* instance
);
17 virtual ~TestVideoSource();
20 // TestCase implementation.
22 virtual void RunTests(const std::string
& filter
);
25 virtual void HandleMessage(const pp::Var
& message_data
);
27 std::string
TestCreate();
28 std::string
TestGetFrame();
30 const PPB_VideoSource_Private
* ppb_video_source_private_interface_
;
31 const PPB_Core
* ppb_core_interface_
;
33 std::string stream_url_
;
36 #endif // PAPPI_TESTS_TEST_VIDEO_SOURCE_H_