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

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

Issue 955253002: Add metadata to media::VideoFrame and plumb it through IPC/MediaStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tommi's nits addressed Created 5 years, 10 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_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 f41984bd5a073c21e45941928f46539809bdf81c..126186cb59cdf354a054b76bf58b9a575dd8b4eb 100644
--- a/content/browser/renderer_host/media/video_capture_manager_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_manager_unittest.cc
@@ -51,16 +51,20 @@ class MockFrameObserver : public VideoCaptureControllerEventHandler {
int length, int buffer_id) override {}
virtual void OnBufferDestroyed(const VideoCaptureControllerID& id,
int buffer_id) override {}
- virtual void OnBufferReady(const VideoCaptureControllerID& id,
- int buffer_id,
- const media::VideoCaptureFormat& format,
- const gfx::Rect& visible_rect,
- base::TimeTicks timestamp) override {}
- virtual void OnMailboxBufferReady(const VideoCaptureControllerID& id,
- int buffer_id,
- const gpu::MailboxHolder& mailbox_holder,
- const media::VideoCaptureFormat& format,
- base::TimeTicks timestamp) override {}
+ virtual void OnBufferReady(
+ const VideoCaptureControllerID& id,
+ int buffer_id,
+ const gfx::Size& coded_size,
+ const gfx::Rect& visible_rect,
+ base::TimeTicks timestamp,
+ scoped_ptr<base::DictionaryValue> metadata) override {}
+ virtual void OnMailboxBufferReady(
+ const VideoCaptureControllerID& id,
+ int buffer_id,
+ const gpu::MailboxHolder& mailbox_holder,
+ const gfx::Size& packed_frame_size,
+ base::TimeTicks timestamp,
+ scoped_ptr<base::DictionaryValue> metadata) override {}
virtual void OnEnded(const VideoCaptureControllerID& id) override {}
void OnGotControllerCallback(VideoCaptureControllerID) {}
« no previous file with comments | « content/browser/renderer_host/media/video_capture_host_unittest.cc ('k') | content/common/media/video_capture_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698