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

Side by Side Diff: webkit/support/test_media_stream_client.h

Issue 8887004: add components for integration test which will detect breakage of media pipeline with video captu... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: corresponding change with webkit patch Created 9 years 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 // TestMediaStreamClient is an implementation of webkit_media::MediaStreamClient
6 // and used with WebKit::WebUserMediaClientMock to provide corresponding video
7 // decoder to media pipeline.
8
9 #ifndef WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_
10 #define WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_
11
12 #include "webkit/media/media_stream_client.h"
13
14 namespace WebKit {
15 class WebUserMediaClientMock;
16 }
17
18 namespace webkit_support {
19
20 class TestMediaStreamClient : public webkit_media::MediaStreamClient {
21 public:
22 explicit TestMediaStreamClient(
23 WebKit::WebUserMediaClientMock* userMediaClientMock);
scherkus (not reviewing) 2011/12/21 20:26:45 fix to unix_hacker style here + below
wjia(left Chromium) 2012/01/03 17:08:12 Done.
24 virtual ~TestMediaStreamClient() { }
scherkus (not reviewing) 2011/12/21 20:26:45 { } -> {}
wjia(left Chromium) 2012/01/03 17:08:12 Done.
25
26 // Implement webkit_media::MediaStreamClient.
27 virtual scoped_refptr<media::VideoDecoder> GetVideoDecoder(
28 const GURL& url, media::MessageLoopFactory* message_loop_factory);
29
30 private:
31 WebKit::WebUserMediaClientMock* m_userMediaClientMock;
32 };
33
34 } // namespace webkit_support
35
36 #endif // WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698