OLD | NEW |
---|---|
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 Loading... | |
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;; | |
tommi (sloooow) - chröme
2013/04/11 03:26:05
semicolon
perkj_chrome
2013/04/11 10:12:42
Done.
| |
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_ |
OLD | NEW |