| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 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 MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_OBSERVER_CHROMEOS_H_ |
| 6 #define MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_OBSERVER_CHROMEOS_H_ |
| 7 |
| 8 #include "chromeos/audio/cras_audio_handler.h" |
| 9 #include "media/base/video_facing.h" |
| 10 |
| 11 namespace media { |
| 12 |
| 13 class VideoCaptureObserverChromeOS : public VideoCaptureObserver { |
| 14 public: |
| 15 VideoCaptureObserverChromeOS(chromeos::VideoCaptureObserver* observer); |
| 16 VideoCaptureObserverChromeOS(); |
| 17 void OnVideoCaptureStarted(VideoFacingMode facing) override; |
| 18 void OnVideoCaptureStopped(VideoFacingMode facing) override; |
| 19 |
| 20 private: |
| 21 chromeos::VideoCaptureObserver* const observer_; |
| 22 }; |
| 23 |
| 24 } // namespace media |
| 25 |
| 26 #endif // MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_OBSERVER_CHROMEOS_H_ |
| OLD | NEW |