Index: media/capture/video/video_capture_device.h |
diff --git a/media/capture/video/video_capture_device.h b/media/capture/video/video_capture_device.h |
index ad0927d8becf7d35c159433ef270dd0f351e78dc..099cf2897a995fdd1e30e6e1a3c2669739b78ff0 100644 |
--- a/media/capture/video/video_capture_device.h |
+++ b/media/capture/video/video_capture_device.h |
@@ -26,6 +26,10 @@ |
#include "media/base/video_frame.h" |
#include "ui/gfx/gpu_memory_buffer.h" |
+namespace tracked_objects { |
+class Location; |
+} // namespace tracked_objects |
+ |
namespace media { |
class MEDIA_EXPORT VideoCaptureDevice { |
@@ -250,7 +254,8 @@ 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; |
+ virtual void OnError(const tracked_objects::Location& from_here, |
+ const std::string& reason) = 0; |
// VideoCaptureDevice requests the |message| to be logged. |
virtual void OnLog(const std::string& message) {} |