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

Unified Diff: media/capture/video/fake_video_capture_device_unittest.cc

Issue 2062333002: mojo::Callback -> base::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « mash/app_driver/app_driver.cc ('k') | media/capture/video/scoped_result_callback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/fake_video_capture_device_unittest.cc
diff --git a/media/capture/video/fake_video_capture_device_unittest.cc b/media/capture/video/fake_video_capture_device_unittest.cc
index 41f9b53c5a604e0dca42000ca4ff67cddb4318e4..27bce8abc8191d7c130230a8eb14e02de7071ba7 100644
--- a/media/capture/video/fake_video_capture_device_unittest.cc
+++ b/media/capture/video/fake_video_capture_device_unittest.cc
@@ -138,8 +138,7 @@ class PhotoTakenListener : public base::RefCounted<PhotoTakenListener> {
public:
MOCK_METHOD0(OnCorrectPhotoTaken, void(void));
// GMock doesn't support move-only arguments, so we use this forward method.
- void DoOnPhotoTaken(const mojo::String& mime_type,
- mojo::Array<uint8_t> data) {
+ void DoOnPhotoTaken(mojo::String mime_type, mojo::Array<uint8_t> data) {
// Only PNG images are supported right now.
EXPECT_STREQ("image/png", mime_type.storage().c_str());
// Not worth decoding the incoming data. Just check that the header is PNG.
« no previous file with comments | « mash/app_driver/app_driver.cc ('k') | media/capture/video/scoped_result_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698