Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Side by Side Diff: media/capture/video/linux/video_capture_observer_chromeos.h

Issue 2634263002: Pass camera facing info to audio client (Closed)
Patch Set: separate out video_capture_observer_chromeos Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698