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

Side by Side Diff: content/browser/renderer_host/media/video_capture_device_launch_observer.h

Issue 2902203002: [Mojo Video Capture] Hook up connection lost events (Closed)
Patch Set: Fix duplicate member introduced during merging Created 3 years, 6 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698