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

Side by Side Diff: components/test_runner/mock_web_media_stream_center.cc

Issue 2481263004: Revert of Remove MediaStreamTrack.getSources(). (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
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"
19 #include "third_party/WebKit/public/platform/WebVector.h" 21 #include "third_party/WebKit/public/platform/WebVector.h"
20 22
21 namespace test_runner { 23 namespace test_runner {
22 24
23 namespace { 25 namespace {
24 26
25 class MockWebAudioDestinationConsumer 27 class MockWebAudioDestinationConsumer
26 : public blink::WebAudioDestinationConsumer { 28 : public blink::WebAudioDestinationConsumer {
27 public: 29 public:
28 MockWebAudioDestinationConsumer() {} 30 MockWebAudioDestinationConsumer() {}
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 95 }
94 } 96 }
95 97
96 blink::WebAudioSourceProvider* 98 blink::WebAudioSourceProvider*
97 MockWebMediaStreamCenter::createWebAudioSourceFromMediaStreamTrack( 99 MockWebMediaStreamCenter::createWebAudioSourceFromMediaStreamTrack(
98 const blink::WebMediaStreamTrack& track) { 100 const blink::WebMediaStreamTrack& track) {
99 return NULL; 101 return NULL;
100 } 102 }
101 103
102 } // namespace test_runner 104 } // namespace test_runner
OLDNEW
« no previous file with comments | « chrome/test/data/webrtc/media_devices.js ('k') | components/test_runner/mock_web_user_media_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698