| 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 <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // TODO(miu): Remove these constructor args. They are no longer used. | 29 // TODO(miu): Remove these constructor args. They are no longer used. |
| 30 // http://crbug.com/577874 | 30 // http://crbug.com/577874 |
| 31 MediaStreamCenter(blink::WebMediaStreamCenterClient* client, | 31 MediaStreamCenter(blink::WebMediaStreamCenterClient* client, |
| 32 PeerConnectionDependencyFactory* factory); | 32 PeerConnectionDependencyFactory* factory); |
| 33 ~MediaStreamCenter() override; | 33 ~MediaStreamCenter() override; |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 void didCreateMediaStreamTrack( | 36 void didCreateMediaStreamTrack( |
| 37 const blink::WebMediaStreamTrack& track) override; | 37 const blink::WebMediaStreamTrack& track) override; |
| 38 | 38 |
| 39 void didCloneMediaStreamTrack( |
| 40 const blink::WebMediaStreamTrack& original, |
| 41 const blink::WebMediaStreamTrack& clone) override; |
| 42 |
| 39 void didSetContentHint(const blink::WebMediaStreamTrack& track) override; | 43 void didSetContentHint(const blink::WebMediaStreamTrack& track) override; |
| 40 | 44 |
| 41 void didEnableMediaStreamTrack( | 45 void didEnableMediaStreamTrack( |
| 42 const blink::WebMediaStreamTrack& track) override; | 46 const blink::WebMediaStreamTrack& track) override; |
| 43 | 47 |
| 44 void didDisableMediaStreamTrack( | 48 void didDisableMediaStreamTrack( |
| 45 const blink::WebMediaStreamTrack& track) override; | 49 const blink::WebMediaStreamTrack& track) override; |
| 46 | 50 |
| 47 void didStopLocalMediaStream(const blink::WebMediaStream& stream) override; | 51 void didStopLocalMediaStream(const blink::WebMediaStream& stream) override; |
| 48 | 52 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 60 bool didRemoveMediaStreamTrack( | 64 bool didRemoveMediaStreamTrack( |
| 61 const blink::WebMediaStream& stream, | 65 const blink::WebMediaStream& stream, |
| 62 const blink::WebMediaStreamTrack& track) override; | 66 const blink::WebMediaStreamTrack& track) override; |
| 63 | 67 |
| 64 DISALLOW_COPY_AND_ASSIGN(MediaStreamCenter); | 68 DISALLOW_COPY_AND_ASSIGN(MediaStreamCenter); |
| 65 }; | 69 }; |
| 66 | 70 |
| 67 } // namespace content | 71 } // namespace content |
| 68 | 72 |
| 69 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CENTER_H_ | 73 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CENTER_H_ |
| OLD | NEW |