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

Unified Diff: media/base/video_facing.h

Issue 2634263002: Pass camera facing info to audio client (Closed)
Patch Set: Change to use ObserverList 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 side-by-side diff with in-line comments
Download patch
Index: media/base/video_facing.h
diff --git a/media/base/video_facing.h b/media/base/video_facing.h
index 9bd0b50e0a52421c1bc14af77c02d9a3f83c534d..72019f70c9d8241d82c03782b4100845898b4a2d 100644
--- a/media/base/video_facing.h
+++ b/media/base/video_facing.h
@@ -16,6 +16,12 @@ enum VideoFacingMode {
NUM_MEDIA_VIDEO_FACING_MODE
};
+class VideoCaptureObserver {
+ public:
chfremer 2017/02/13 19:00:15 As an interface, VideoCaptureObserver must get a v
shenghao 2017/02/13 19:52:48 Done.
+ virtual void OnVideoCaptureStarted(VideoFacingMode facing) = 0;
+ virtual void OnVideoCaptureStopped(VideoFacingMode facing) = 0;
+};
+
} // namespace media
#endif // MEDIA_BASE_VIDEO_FACING_H_

Powered by Google App Engine
This is Rietveld 408576698