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

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

Issue 13496009: Hookup the MediaStream glue for Adding and Removing tracks to an existing MediaStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add workaround when there are no microphones on bots. Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CENTER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CENTER_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CENTER_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CENTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 24 matching lines...) Expand all
35 virtual void didDisableMediaStreamTrack( 35 virtual void didDisableMediaStreamTrack(
36 const WebKit::WebMediaStream& stream, 36 const WebKit::WebMediaStream& stream,
37 const WebKit::WebMediaStreamTrack& component) OVERRIDE; 37 const WebKit::WebMediaStreamTrack& component) OVERRIDE;
38 38
39 virtual void didStopLocalMediaStream( 39 virtual void didStopLocalMediaStream(
40 const WebKit::WebMediaStream& stream) OVERRIDE; 40 const WebKit::WebMediaStream& stream) OVERRIDE;
41 41
42 virtual void didCreateMediaStream( 42 virtual void didCreateMediaStream(
43 WebKit::WebMediaStream& stream) OVERRIDE; 43 WebKit::WebMediaStream& stream) OVERRIDE;
44 44
45 virtual bool didAddMediaStreamTrack(
46 const WebKit::WebMediaStream& stream,
47 const WebKit::WebMediaStreamTrack& track) OVERRIDE;
48
49 virtual bool didRemoveMediaStreamTrack(
50 const WebKit::WebMediaStream& stream,
51 const WebKit::WebMediaStreamTrack& track) OVERRIDE;
52
45 private: 53 private:
46 // |rtc_factory_| is a weak pointer and is owned by the RenderThreadImpl. 54 // |rtc_factory_| is a weak pointer and is owned by the RenderThreadImpl.
47 // It is valid as long as RenderThreadImpl exist. 55 // It is valid as long as RenderThreadImpl exist.
48 MediaStreamDependencyFactory* rtc_factory_; 56 MediaStreamDependencyFactory* rtc_factory_;
49 57
50 DISALLOW_COPY_AND_ASSIGN(MediaStreamCenter); 58 DISALLOW_COPY_AND_ASSIGN(MediaStreamCenter);
51 }; 59 };
52 60
53 } // namespace content 61 } // namespace content
54 62
55 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CENTER_H_ 63 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CENTER_H_
OLDNEW
« no previous file with comments | « content/browser/media/webrtc_browsertest.cc ('k') | content/renderer/media/media_stream_center.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698