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

Unified Diff: media/capture/video/mac/video_capture_device_decklink_mac.h

Issue 1418263006: Extend VideoCaptureDevice::Client::OnError() to have a tracked_objects::Location param. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/capture/video/mac/video_capture_device_decklink_mac.h
diff --git a/media/capture/video/mac/video_capture_device_decklink_mac.h b/media/capture/video/mac/video_capture_device_decklink_mac.h
index e03765abc5b3b9e4a29ec56e4a306fb9bdc0aced..8718e03bfdbb2f847b75769c0e3ba77f0db40957 100644
--- a/media/capture/video/mac/video_capture_device_decklink_mac.h
+++ b/media/capture/video/mac/video_capture_device_decklink_mac.h
@@ -19,6 +19,10 @@ namespace {
class DeckLinkCaptureDelegate;
} // namespace
+namespace tracked_objects {
+class Location;
+} // namespace tracked_objects
+
namespace media {
// Extension of VideoCaptureDevice to create and manipulate Blackmagic devices.
@@ -52,7 +56,8 @@ class MEDIA_EXPORT VideoCaptureDeviceDeckLinkMac : public VideoCaptureDevice {
base::TimeTicks timestamp);
// Forwarder to VideoCaptureDevice::Client::OnError().
- void SendErrorString(const std::string& reason);
+ void SendErrorString(const tracked_objects::Location& from_here,
+ const std::string& reason);
// Forwarder to VideoCaptureDevice::Client::OnLog().
void SendLogString(const std::string& message);

Powered by Google App Engine
This is Rietveld 408576698