signin: Fix 'ready' event fired after auth complete regression
[chromium-blink-merge.git] / ppapi / tests / test_video_source.h
blob4edfc61a03acf2b6b6226558a6fa681f203f6091
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_
8 #include <string>
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 {
15 public:
16 explicit TestVideoSource(TestingInstance* instance);
17 virtual ~TestVideoSource();
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 TestGetFrame();
30 const PPB_VideoSource_Private* ppb_video_source_private_interface_;
31 const PPB_Core* ppb_core_interface_;
32 NestedEvent event_;
33 std::string stream_url_;
36 #endif // PAPPI_TESTS_TEST_VIDEO_SOURCE_H_