| 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 #include "components/test_runner/mock_web_media_stream_center.h" | 5 #include "components/test_runner/mock_web_media_stream_center.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "components/test_runner/test_interfaces.h" | 11 #include "components/test_runner/test_interfaces.h" |
| 12 #include "components/test_runner/web_test_delegate.h" | 12 #include "components/test_runner/web_test_delegate.h" |
| 13 #include "third_party/WebKit/public/platform/WebAudioDestinationConsumer.h" | 13 #include "third_party/WebKit/public/platform/WebAudioDestinationConsumer.h" |
| 14 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" | 14 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" |
| 15 #include "third_party/WebKit/public/platform/WebMediaStream.h" | 15 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
| 16 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h" | 16 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h" |
| 17 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 17 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
| 18 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 18 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
| 19 #include "third_party/WebKit/public/platform/WebMediaStreamTrackSourcesRequest.h
" | |
| 20 #include "third_party/WebKit/public/platform/WebSourceInfo.h" | |
| 21 #include "third_party/WebKit/public/platform/WebVector.h" | 19 #include "third_party/WebKit/public/platform/WebVector.h" |
| 22 | 20 |
| 23 namespace test_runner { | 21 namespace test_runner { |
| 24 | 22 |
| 25 namespace { | 23 namespace { |
| 26 | 24 |
| 27 class MockWebAudioDestinationConsumer | 25 class MockWebAudioDestinationConsumer |
| 28 : public blink::WebAudioDestinationConsumer { | 26 : public blink::WebAudioDestinationConsumer { |
| 29 public: | 27 public: |
| 30 MockWebAudioDestinationConsumer() {} | 28 MockWebAudioDestinationConsumer() {} |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 } | 93 } |
| 96 } | 94 } |
| 97 | 95 |
| 98 blink::WebAudioSourceProvider* | 96 blink::WebAudioSourceProvider* |
| 99 MockWebMediaStreamCenter::createWebAudioSourceFromMediaStreamTrack( | 97 MockWebMediaStreamCenter::createWebAudioSourceFromMediaStreamTrack( |
| 100 const blink::WebMediaStreamTrack& track) { | 98 const blink::WebMediaStreamTrack& track) { |
| 101 return NULL; | 99 return NULL; |
| 102 } | 100 } |
| 103 | 101 |
| 104 } // namespace test_runner | 102 } // namespace test_runner |
| OLD | NEW |