OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/renderer/media/media_stream_center.h" |
| 6 |
| 7 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amCenterClient.h" |
| 8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amDescriptor.h" |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amSource.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amSourcesRequest.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
| 12 |
| 13 namespace content { |
| 14 |
| 15 MediaStreamCenter::MediaStreamCenter( |
| 16 WebKit::WebMediaStreamCenterClient* client) |
| 17 : client_(client) { |
| 18 } |
| 19 |
| 20 void MediaStreamCenter::queryMediaStreamSources( |
| 21 const WebKit::WebMediaStreamSourcesRequest& request) { |
| 22 WebKit::WebVector<WebKit::WebMediaStreamSource> audioSources, videoSources; |
| 23 request.didCompleteQuery(audioSources, videoSources); |
| 24 } |
| 25 |
| 26 void MediaStreamCenter::didEnableMediaStreamTrack( |
| 27 const WebKit::WebMediaStreamDescriptor& stream, |
| 28 const WebKit::WebMediaStreamComponent& component) { |
| 29 } |
| 30 |
| 31 void MediaStreamCenter::didDisableMediaStreamTrack( |
| 32 const WebKit::WebMediaStreamDescriptor& stream, |
| 33 const WebKit::WebMediaStreamComponent& component) { |
| 34 } |
| 35 |
| 36 void MediaStreamCenter::didStopLocalMediaStream( |
| 37 const WebKit::WebMediaStreamDescriptor& stream) { |
| 38 } |
| 39 |
| 40 void MediaStreamCenter::didConstructMediaStream( |
| 41 const WebKit::WebMediaStreamDescriptor& stream) { |
| 42 } |
| 43 |
| 44 } // namespace content |
OLD | NEW |