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

Side by Side Diff: ppapi/tests/test_video_source.h

Issue 15039009: Add PPAPI tests for VideoSource and VideoDestination resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments on test code. Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef PAPPI_TESTS_TEST_VIDEO_SOURCE_H_
6 #define PAPPI_TESTS_TEST_VIDEO_SOURCE_H_
7
8 #include <string>
9
10 #include "ppapi/c/ppb_core.h"
11 #include "ppapi/c/private/ppb_video_source_private.h"
12 #include "ppapi/tests/test_case.h"
13
14 class TestVideoSource : public TestCase {
15 public:
16 explicit TestVideoSource(TestingInstance* instance);
17 virtual ~TestVideoSource();
18
19 private:
20 // TestCase implementation.
21 virtual bool Init();
22 virtual void RunTests(const std::string& filter);
23
24 // Overrides.
25 virtual void HandleMessage(const pp::Var& message_data);
26
27 std::string TestCreate();
28 std::string TestGetFrame();
29
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_;
palmer 2013/05/09 23:48:11 GURL?
bbudge 2013/05/10 00:13:13 Same comment as in destination.h. On 2013/05/09 23
34 };
35
36 #endif // PAPPI_TESTS_TEST_VIDEO_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698