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 // MediaStreamSink is the base interface for MediaStreamAudioSink and | |
| 15 // MediaStreamVideoSink. It allows an implementation to receive notifications | |
| 16 // about state changes on a blink::WebMediaStreamSource object. | |
|
Jói
2013/11/28 14:37:17
"on a blink::WebMediaStreamSource object." -> "on
perkj_chrome
2013/11/29 13:29:48
Done.
| |
| 17 class CONTENT_EXPORT MediaStreamSink { | |
| 18 public: | |
| 19 virtual void OnReadyStateChanged( | |
| 20 blink::WebMediaStreamSource::ReadyState state) {} | |
| 21 | |
| 22 protected: | |
| 23 virtual ~MediaStreamSink() {} | |
| 24 }; | |
| 25 | |
| 26 } // namespace content | |
| 27 | |
| 28 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SINK_H_ | |
| OLD | NEW |