| 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 #ifndef WEBKIT_MOCKS_TEST_MEDIA_STREAM_CLIENT_H_ | 9 #ifndef WEBKIT_MOCKS_TEST_MEDIA_STREAM_CLIENT_H_ |
| 10 #define WEBKIT_MOCKS_TEST_MEDIA_STREAM_CLIENT_H_ | 10 #define WEBKIT_MOCKS_TEST_MEDIA_STREAM_CLIENT_H_ |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 13 #include "third_party/WebKit/public/platform/WebURL.h" |
| 14 #include "webkit/media/media_stream_client.h" | 14 #include "webkit/media/media_stream_client.h" |
| 15 | 15 |
| 16 namespace WebKit { | 16 namespace WebKit { |
| 17 class WebFrame; | 17 class WebFrame; |
| 18 class WebMediaPlayer; | 18 class WebMediaPlayer; |
| 19 class WebMediaPlayerClient; | 19 class WebMediaPlayerClient; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace webkit_media { | 22 namespace webkit_media { |
| 23 class MediaStreamAudioRenderer; | 23 class MediaStreamAudioRenderer; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 44 const GURL& url, | 44 const GURL& url, |
| 45 const base::Closure& error_cb, | 45 const base::Closure& error_cb, |
| 46 const webkit_media::VideoFrameProvider::RepaintCB& repaint_cb) OVERRIDE; | 46 const webkit_media::VideoFrameProvider::RepaintCB& repaint_cb) OVERRIDE; |
| 47 virtual scoped_refptr<webkit_media::MediaStreamAudioRenderer> | 47 virtual scoped_refptr<webkit_media::MediaStreamAudioRenderer> |
| 48 GetAudioRenderer(const GURL& url) OVERRIDE; | 48 GetAudioRenderer(const GURL& url) OVERRIDE; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace webkit_glue | 51 } // namespace webkit_glue |
| 52 | 52 |
| 53 #endif // WEBKIT_MOCKS_TEST_MEDIA_STREAM_CLIENT_H_ | 53 #endif // WEBKIT_MOCKS_TEST_MEDIA_STREAM_CLIENT_H_ |
| OLD | NEW |