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

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

Issue 2167313002: ImageCapture: introduce image_capture Blob to allow move-only semantics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: foolip comments and rebase Created 4 years, 5 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/video_capture_device.h
diff --git a/media/capture/video/video_capture_device.h b/media/capture/video/video_capture_device.h
index a1707d5da713fb1a8ed8c1ffe470cba9261c31ba..4671df63f364c5dde04c4f08fa7f3e875983af6c 100644
--- a/media/capture/video/video_capture_device.h
+++ b/media/capture/video/video_capture_device.h
@@ -325,8 +325,8 @@ class CAPTURE_EXPORT VideoCaptureDevice {
// Asynchronously takes a photo, possibly reconfiguring the capture objects
// and/or interrupting the capture flow. Runs |callback| on the thread
// where TakePhoto() is called, if the photo was successfully taken.
- using TakePhotoCallback = ScopedResultCallback<
- base::Callback<void(const std::string&, const std::vector<uint8_t>&)>>;
+ using TakePhotoCallback =
+ ScopedResultCallback<base::Callback<void(mojom::BlobPtr blob)>>;
virtual void TakePhoto(TakePhotoCallback callback);
// Gets the power line frequency, either from the params if specified by the
« no previous file with comments | « media/capture/video/mac/video_capture_device_mac.mm ('k') | media/capture/video/video_capture_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698