OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // TestMediaStreamClient is an implementation of webkit_media::MediaStreamClient | 5 // TestMediaStreamClient is an implementation of webkit_media::MediaStreamClient |
6 // and used with WebKit::WebUserMediaClientMock to provide corresponding video | 6 // and used with WebKit::WebUserMediaClientMock to provide corresponding video |
7 // decoder to media pipeline. | 7 // decoder to media pipeline. |
8 | 8 |
| 9 // TODO(wjia): remove this class once |
| 10 // https://bugs.webkit.org/show_bug.cgi?id=113633 is fixed, since it has been |
| 11 // moved into webkit/mocks. |
| 12 |
9 #ifndef WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_ | 13 #ifndef WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_ |
10 #define WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_ | 14 #define WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_ |
11 | 15 |
12 #include "base/callback_forward.h" | 16 #include "base/callback_forward.h" |
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 17 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" |
14 #include "webkit/media/media_stream_client.h" | 18 #include "webkit/media/media_stream_client.h" |
15 | 19 |
16 namespace webkit_media { | 20 namespace webkit_media { |
17 class MediaStreamAudioRenderer; | 21 class MediaStreamAudioRenderer; |
18 } | 22 } |
(...skipping 11 matching lines...) Expand all Loading... |
30 const GURL& url, | 34 const GURL& url, |
31 const base::Closure& error_cb, | 35 const base::Closure& error_cb, |
32 const webkit_media::VideoFrameProvider::RepaintCB& repaint_cb) OVERRIDE; | 36 const webkit_media::VideoFrameProvider::RepaintCB& repaint_cb) OVERRIDE; |
33 virtual scoped_refptr<webkit_media::MediaStreamAudioRenderer> | 37 virtual scoped_refptr<webkit_media::MediaStreamAudioRenderer> |
34 GetAudioRenderer(const GURL& url) OVERRIDE; | 38 GetAudioRenderer(const GURL& url) OVERRIDE; |
35 }; | 39 }; |
36 | 40 |
37 } // namespace webkit_support | 41 } // namespace webkit_support |
38 | 42 |
39 #endif // WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_ | 43 #endif // WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_ |
OLD | NEW |