Chromium Code Reviews| Index: content/renderer/media/media_stream_source.h |
| diff --git a/content/renderer/media/media_stream_source.h b/content/renderer/media/media_stream_source.h |
| index 940efcc30a337da6d9e3957943766fda3b594251..f81a68f9e7de646c1f1a3e448a3aabad6eaccd10 100644 |
| --- a/content/renderer/media/media_stream_source.h |
| +++ b/content/renderer/media/media_stream_source.h |
| @@ -53,11 +53,6 @@ class CONTENT_EXPORT MediaStreamSource |
| stop_callback_.Reset(); |
| } |
| - protected: |
| - // Called when StopSource is called. It allows derived classes to implement |
| - // its own Stop method. |
| - virtual void DoStopSource() = 0; |
| - |
| // Sets device information about a source that has been created by a |
| // JavaScript call to GetUserMedia. F.E a camera or microphone. |
| void SetDeviceInfo(const StreamDeviceInfo& device_info) { |
| @@ -70,6 +65,11 @@ class CONTENT_EXPORT MediaStreamSource |
| stop_callback_ = stop_callback; |
| } |
| + protected: |
| + // Called when StopSource is called. It allows derived classes to implement |
| + // its own Stop method. |
| + virtual void DoStopSource() = 0; |
| + |
| private: |
| StreamDeviceInfo device_info_; |
| SourceStoppedCallback stop_callback_; |
|
o1ka
2016/03/30 15:00:58
Looks like we need to add thread checker to this c
miu
2016/03/31 04:57:59
Done.
|