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

Unified Diff: media/capture/video/android/video_capture_device_android.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/android/video_capture_device_android.h
diff --git a/media/capture/video/android/video_capture_device_android.h b/media/capture/video/android/video_capture_device_android.h
index ccab5e2a35259552d85c16d543c6dee79e54de82..3416ef27a46ccf3e4b95eb1d0e48c6e1ce4162d0 100644
--- a/media/capture/video/android/video_capture_device_android.h
+++ b/media/capture/video/android/video_capture_device_android.h
@@ -15,6 +15,10 @@
#include "media/base/media_export.h"
#include "media/capture/video/video_capture_device.h"
+namespace tracked_objects {
+class Location;
+} // namespace tracked_
+
namespace media {
// VideoCaptureDevice on Android. The VideoCaptureDevice API's are called
@@ -70,7 +74,8 @@ class MEDIA_EXPORT VideoCaptureDeviceAndroid : public VideoCaptureDevice {
};
VideoPixelFormat GetColorspace();
- void SetErrorState(const std::string& reason);
+ void SetErrorState(const tracked_objects::Location& from_here,
+ const std::string& reason);
// Prevent racing on accessing |state_| and |client_| since both could be
// accessed from different threads.

Powered by Google App Engine
This is Rietveld 408576698