| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_LAUNCH_OBSERVER
_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_LAUNCH_OBSERVER
_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_LAUNCH_OBSERVER
_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_LAUNCH_OBSERVER
_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 class VideoCaptureController; | 12 class VideoCaptureController; |
| 13 | 13 |
| 14 class CONTENT_EXPORT VideoCaptureDeviceLaunchObserver { | 14 class CONTENT_EXPORT VideoCaptureDeviceLaunchObserver { |
| 15 public: | 15 public: |
| 16 virtual ~VideoCaptureDeviceLaunchObserver() {} | 16 virtual ~VideoCaptureDeviceLaunchObserver() {} |
| 17 virtual void OnDeviceLaunched(VideoCaptureController* controller) = 0; | 17 virtual void OnDeviceLaunched(VideoCaptureController* controller) = 0; |
| 18 virtual void OnDeviceLaunchFailed(VideoCaptureController* controller) = 0; | 18 virtual void OnDeviceLaunchFailed(VideoCaptureController* controller) = 0; |
| 19 virtual void OnDeviceLaunchAborted() = 0; | 19 virtual void OnDeviceLaunchAborted() = 0; |
| 20 virtual void OnDeviceConnectionLost(VideoCaptureController* controller) = 0; |
| 20 }; | 21 }; |
| 21 | 22 |
| 22 } // namespace content | 23 } // namespace content |
| 23 | 24 |
| 24 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_LAUNCH_OBSER
VER_H_ | 25 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_LAUNCH_OBSER
VER_H_ |
| OLD | NEW |