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

Unified Diff: content/renderer/media/video_capture_message_filter.h

Issue 2409893003: VideoCapture: more migration IPC-->mojo, part 5 (Closed)
Patch Set: rebase content/common/BUILD.gn Created 4 years, 2 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/renderer/media/video_capture_message_filter.h
diff --git a/content/renderer/media/video_capture_message_filter.h b/content/renderer/media/video_capture_message_filter.h
index 4fb71e885c92058f99377a4ef6ed4ccf9be500bf..6314af080fc62883aa5d69bd212182ff6c970cf9 100644
--- a/content/renderer/media/video_capture_message_filter.h
+++ b/content/renderer/media/video_capture_message_filter.h
@@ -36,18 +36,6 @@ class CONTENT_EXPORT VideoCaptureMessageFilter : public IPC::MessageFilter {
int length,
int buffer_id) = 0;
- virtual void OnBufferDestroyed(int buffer_id) = 0;
-
- // Called when a buffer referencing a captured VideoFrame is received from
- // Browser process.
- virtual void OnBufferReceived(int buffer_id,
- base::TimeDelta timestamp,
- const base::DictionaryValue& metadata,
- media::VideoPixelFormat pixel_format,
- media::VideoFrame::StorageType storage_type,
- const gfx::Size& coded_size,
- const gfx::Rect& visible_rect) = 0;
-
// Called when the delegate has been added to filter's delegate list.
// |device_id| is the device id for the delegate.
virtual void OnDelegateAdded(int32_t device_id) = 0;
@@ -87,13 +75,6 @@ class CONTENT_EXPORT VideoCaptureMessageFilter : public IPC::MessageFilter {
int length,
int buffer_id);
- // Release a buffer received by OnBufferCreated.
- void OnBufferDestroyed(int device_id,
- int buffer_id);
-
- // Receive a filled buffer from browser process.
- void OnBufferReceived(const VideoCaptureMsg_BufferReady_Params& params);
-
// Finds the delegate associated with |device_id|, NULL if not found.
Delegate* find_delegate(int device_id) const;
« no previous file with comments | « content/renderer/media/video_capture_impl_unittest.cc ('k') | content/renderer/media/video_capture_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698