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

Unified Diff: media/video/capture/video_capture_device.h

Issue 140633004: Reland CL to implement browser-side logging to WebRtc log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: These are the changes that should fix crbug.com/338848 Created 6 years, 11 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/video/capture/video_capture_device.h
diff --git a/media/video/capture/video_capture_device.h b/media/video/capture/video_capture_device.h
index c02dcc1a4b4245f5bae5940f42fe842a7fbb8039..a3cabad1e7f2b734d2eeb9d56de1b76685a635ed 100644
--- a/media/video/capture/video_capture_device.h
+++ b/media/video/capture/video_capture_device.h
@@ -180,8 +180,8 @@ class MEDIA_EXPORT VideoCaptureDevice {
int frame_rate) = 0;
// An error has occurred that cannot be handled and VideoCaptureDevice must
- // be StopAndDeAllocate()-ed.
- virtual void OnError() = 0;
+ // be StopAndDeAllocate()-ed. |reason| is a text description of the error.
+ virtual void OnError(const std::string& reason) = 0;
};
// Creates a VideoCaptureDevice object.

Powered by Google App Engine
This is Rietveld 408576698