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

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

Issue 308813002: Mac Video Capture: Connect error logging to WebRTC Log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 7651d04b53e4ebf2b18b793e19c60970f4e859c0..d54bc3d1998c0ea89d695147fa5803f6523e55ff 100644
--- a/media/video/capture/video_capture_device.h
+++ b/media/video/capture/video_capture_device.h
@@ -187,6 +187,9 @@ class MEDIA_EXPORT VideoCaptureDevice {
// An error has occurred that cannot be handled and VideoCaptureDevice must
// be StopAndDeAllocate()-ed. |reason| is a text description of the error.
virtual void OnError(const std::string& reason) = 0;
+
+ // The VideoCaptureDevice has a |message| to add to the Log.
+ virtual void OnLog(const std::string& message) = 0;
};
// Creates a VideoCaptureDevice object.

Powered by Google App Engine
This is Rietveld 408576698