Add TSan flags to download_build_install.py
[chromium-blink-merge.git] / ppapi / tests / test_video_destination.h
blobc085b8be8ba2c0da941c31f063fe91880a3d2451
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_DESTINATION_H_
6 #define PAPPI_TESTS_TEST_VIDEO_DESTINATION_H_
8 #include <string>
10 #include "ppapi/c/ppb_core.h"
11 #include "ppapi/c/private/ppb_video_destination_private.h"
12 #include "ppapi/tests/test_case.h"
14 class TestVideoDestination : public TestCase {
15 public:
16 explicit TestVideoDestination(TestingInstance* instance);
17 virtual ~TestVideoDestination();
19 private:
20 // TestCase implementation.
21 virtual bool Init();
22 virtual void RunTests(const std::string& filter);
24 // Overrides.
25 virtual void HandleMessage(const pp::Var& message_data);
27 std::string TestCreate();
28 std::string TestPutFrame();
30 const PPB_VideoDestination_Private* ppb_video_destination_private_interface_;
31 const PPB_Core* ppb_core_interface_;
32 NestedEvent event_;
33 std::string stream_url_;
36 #endif // PAPPI_TESTS_TEST_VIDEO_DESTINATION_H_