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

Side by Side Diff: content/renderer/media/media_stream_center.cc

Issue 9648007: Adding a skeleton MediaStreamCenter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't create MediaStreamCenter if WebRTC is disabled. Created 8 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/media/media_stream_center.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_center.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698