Index: media/base/video_facing.h |
diff --git a/media/base/video_facing.h b/media/base/video_facing.h |
index 9bd0b50e0a52421c1bc14af77c02d9a3f83c534d..f16473e3393ee026975a4ed576f920fda6ee5741 100644 |
--- a/media/base/video_facing.h |
+++ b/media/base/video_facing.h |
@@ -16,6 +16,13 @@ enum VideoFacingMode { |
NUM_MEDIA_VIDEO_FACING_MODE |
satorux1
2017/02/14 00:58:45
nit: Add 'S' at the end?
shenghao
2017/02/15 03:00:38
Done.
|
}; |
+class VideoCaptureObserver { |
satorux1
2017/02/14 00:58:45
class comment is missing. I think it'd be good to
shenghao
2017/02/15 03:00:38
Done.
|
+ public: |
+ virtual ~VideoCaptureObserver() {} |
+ virtual void OnVideoCaptureStarted(VideoFacingMode facing) = 0; |
+ virtual void OnVideoCaptureStopped(VideoFacingMode facing) = 0; |
+}; |
+ |
} // namespace media |
#endif // MEDIA_BASE_VIDEO_FACING_H_ |