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

Unified Diff: content/browser/renderer_host/media/video_capture_device_client_unittest.cc

Issue 2607203002: [Mojo Video Capture] Retire buffers when Android Chromium goes to the background (Closed)
Patch Set: Created 3 years, 11 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: content/browser/renderer_host/media/video_capture_device_client_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_device_client_unittest.cc b/content/browser/renderer_host/media/video_capture_device_client_unittest.cc
index 0276d14498308dbd97533a143f02e5e4dafc9706..9fea754942ce4ad844bd14c6c8da04ba6cda6a16 100644
--- a/content/browser/renderer_host/media/video_capture_device_client_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_device_client_unittest.cc
@@ -42,7 +42,7 @@ class MockVideoCaptureController : public VideoCaptureController {
MOCK_METHOD1(MockOnIncomingCapturedVideoFrame, void(const gfx::Size&));
MOCK_METHOD0(OnError, void());
MOCK_METHOD1(OnLog, void(const std::string& message));
- MOCK_METHOD1(OnBufferDestroyed, void(int buffer_id_to_drop));
+ MOCK_METHOD1(OnBufferRetired, void(int buffer_id));
void OnIncomingCapturedVideoFrame(
media::VideoCaptureDevice::Client::Buffer buffer,

Powered by Google App Engine
This is Rietveld 408576698