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

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

Issue 2166713002: ImageCapture: replace Mojo String/Array with stl/wtf string/vector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forgot media/.../mojo_bindings.gyp 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 1a5721f70173bc76f776b2bd67431b246fa13672..a1707d5da713fb1a8ed8c1ffe470cba9261c31ba 100644
--- a/media/capture/video/video_capture_device.h
+++ b/media/capture/video/video_capture_device.h
@@ -326,7 +326,7 @@ class CAPTURE_EXPORT VideoCaptureDevice {
// 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(mojo::String, mojo::Array<uint8_t>)>>;
+ base::Callback<void(const std::string&, const std::vector<uint8_t>&)>>;
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