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

Unified Diff: services/video_capture/mock_receiver.cc

Issue 2502483003: [Mojo Video Capture] Cleanup naming of classes/files in services/video_capture (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 | « services/video_capture/mock_receiver.h ('k') | services/video_capture/mock_video_capture_device_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/video_capture/mock_receiver.cc
diff --git a/services/video_capture/mock_video_frame_receiver.cc b/services/video_capture/mock_receiver.cc
similarity index 56%
rename from services/video_capture/mock_video_frame_receiver.cc
rename to services/video_capture/mock_receiver.cc
index e3c15637253a40d4620dcb44a39cad2eeace5e78..24166bfdc1c1de44c514bb90bf7ea06557ec84c3 100644
--- a/services/video_capture/mock_video_frame_receiver.cc
+++ b/services/video_capture/mock_receiver.cc
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "services/video_capture/mock_video_frame_receiver.h"
+#include "services/video_capture/mock_receiver.h"
namespace video_capture {
-MockVideoFrameReceiver::MockVideoFrameReceiver(
- mojom::VideoFrameReceiverRequest request)
+MockReceiver::MockReceiver(mojom::ReceiverRequest request)
: binding_(this, std::move(request)) {}
-MockVideoFrameReceiver::~MockVideoFrameReceiver() = default;
+MockReceiver::~MockReceiver() = default;
-void MockVideoFrameReceiver::OnIncomingCapturedVideoFrame(
+void MockReceiver::OnIncomingCapturedVideoFrame(
media::mojom::VideoFramePtr frame) {
OnIncomingCapturedVideoFramePtr(&frame);
}
« no previous file with comments | « services/video_capture/mock_receiver.h ('k') | services/video_capture/mock_video_capture_device_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698