Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 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 #ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SINK_H_ | |
| 6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SINK_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "content/common/content_export.h" | |
| 10 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 class CONTENT_EXPORT MediaStreamSink { | |
|
tommi (sloooow) - chröme
2013/11/27 16:53:07
t'would be nice to have some comments
perkj_chrome
2013/11/28 13:32:45
Done.
| |
| 15 public: | |
| 16 virtual void OnReadyStateChanged( | |
| 17 blink::WebMediaStreamSource::ReadyState state) {} | |
|
tommi (sloooow) - chröme
2013/11/27 16:53:07
= 0?
since there's only one method in the interfac
Jói
2013/11/27 18:35:51
The interfaces MediaStreamVideoSink and MediaStrea
perkj_chrome
2013/11/28 13:32:45
I agree with Joi. This is not needed by all implem
tommi (sloooow) - chröme
2013/11/28 14:32:21
OK, sounds good.
| |
| 18 | |
| 19 protected: | |
| 20 virtual ~MediaStreamSink() {} | |
| 21 }; | |
| 22 | |
| 23 } // namespace content | |
| 24 | |
| 25 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SINK_H_ | |
| OLD | NEW |