| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef COMPONENTS_TEST_RUNNER_MOCK_WEB_MEDIA_STREAM_CENTER_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_MOCK_WEB_MEDIA_STREAM_CENTER_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_MOCK_WEB_MEDIA_STREAM_CENTER_H_ | 6 #define COMPONENTS_TEST_RUNNER_MOCK_WEB_MEDIA_STREAM_CENTER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/test_runner/web_task.h" | 9 #include "components/test_runner/web_task.h" |
| 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" | 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 const blink::WebMediaStreamTrack& track) override; | 38 const blink::WebMediaStreamTrack& track) override; |
| 39 void didCreateMediaStream(blink::WebMediaStream& stream) override; | 39 void didCreateMediaStream(blink::WebMediaStream& stream) override; |
| 40 blink::WebAudioSourceProvider* createWebAudioSourceFromMediaStreamTrack( | 40 blink::WebAudioSourceProvider* createWebAudioSourceFromMediaStreamTrack( |
| 41 const blink::WebMediaStreamTrack& track) override; | 41 const blink::WebMediaStreamTrack& track) override; |
| 42 | 42 |
| 43 // Task related methods | 43 // Task related methods |
| 44 WebTaskList* mutable_task_list() { return &task_list_; } | 44 WebTaskList* mutable_task_list() { return &task_list_; } |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 WebTaskList task_list_; | 47 WebTaskList task_list_; |
| 48 TestInterfaces* interfaces_; | |
| 49 | 48 |
| 50 DISALLOW_COPY_AND_ASSIGN(MockWebMediaStreamCenter); | 49 DISALLOW_COPY_AND_ASSIGN(MockWebMediaStreamCenter); |
| 51 }; | 50 }; |
| 52 | 51 |
| 53 } // namespace test_runner | 52 } // namespace test_runner |
| 54 | 53 |
| 55 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_MEDIA_STREAM_CENTER_H_ | 54 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_MEDIA_STREAM_CENTER_H_ |
| OLD | NEW |