signin: Fix 'ready' event fired after auth complete regression
[chromium-blink-merge.git] / ppapi / tests / test_media_stream_video_track.h
blob6168a874f4efa3c33bbb7b6237ba61f3bf94c524
1 // Copyright 2014 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_MEDIA_STREAM_VIDEO_TRACK_H_
6 #define PAPPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_
8 #include <string>
10 #include "ppapi/cpp/media_stream_video_track.h"
11 #include "ppapi/tests/test_case.h"
13 class TestMediaStreamVideoTrack : public TestCase {
14 public:
15 explicit TestMediaStreamVideoTrack(TestingInstance* instance);
16 virtual ~TestMediaStreamVideoTrack();
18 private:
19 // TestCase implementation.
20 virtual bool Init();
21 virtual void RunTests(const std::string& filter);
23 // Overrides.
24 virtual void HandleMessage(const pp::Var& message_data);
26 std::string TestCreate();
27 std::string TestGetFrame();
28 std::string TestConfigure();
30 pp::MediaStreamVideoTrack video_track_;
32 NestedEvent event_;
35 #endif // PAPPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_