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

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

Issue 1017503002: VideoCaptureHost/VideoCaptureControllerEventHandler cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded BindToCurrentLoop() Created 5 years, 9 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 | « content/browser/renderer_host/media/video_capture_manager.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_manager_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_manager_unittest.cc b/content/browser/renderer_host/media/video_capture_manager_unittest.cc
index 126186cb59cdf354a054b76bf58b9a575dd8b4eb..a52ff6c7278b9326ae8c616bf3c72c549531f926 100644
--- a/content/browser/renderer_host/media/video_capture_manager_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_manager_unittest.cc
@@ -44,28 +44,28 @@ class MockMediaStreamProviderListener : public MediaStreamProviderListener {
// Needed as an input argument to StartCaptureForClient().
class MockFrameObserver : public VideoCaptureControllerEventHandler {
public:
- MOCK_METHOD1(OnError, void(const VideoCaptureControllerID& id));
+ MOCK_METHOD1(OnError, void(VideoCaptureControllerID id));
- virtual void OnBufferCreated(const VideoCaptureControllerID& id,
+ virtual void OnBufferCreated(VideoCaptureControllerID id,
base::SharedMemoryHandle handle,
int length, int buffer_id) override {}
- virtual void OnBufferDestroyed(const VideoCaptureControllerID& id,
+ virtual void OnBufferDestroyed(VideoCaptureControllerID id,
int buffer_id) override {}
virtual void OnBufferReady(
- const VideoCaptureControllerID& id,
+ VideoCaptureControllerID id,
int buffer_id,
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
- base::TimeTicks timestamp,
+ const base::TimeTicks& timestamp,
scoped_ptr<base::DictionaryValue> metadata) override {}
virtual void OnMailboxBufferReady(
- const VideoCaptureControllerID& id,
+ VideoCaptureControllerID id,
int buffer_id,
const gpu::MailboxHolder& mailbox_holder,
const gfx::Size& packed_frame_size,
- base::TimeTicks timestamp,
+ const base::TimeTicks& timestamp,
scoped_ptr<base::DictionaryValue> metadata) override {}
- virtual void OnEnded(const VideoCaptureControllerID& id) override {}
+ virtual void OnEnded(VideoCaptureControllerID id) override {}
void OnGotControllerCallback(VideoCaptureControllerID) {}
};
« no previous file with comments | « content/browser/renderer_host/media/video_capture_manager.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698