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

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

Issue 7222024: use control message instead of routed for video capture (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
===================================================================
--- content/renderer/media/video_capture_message_filter.h (revision 89543)
+++ content/renderer/media/video_capture_message_filter.h (working copy)
@@ -45,7 +45,7 @@
virtual ~Delegate() {}
};
- explicit VideoCaptureMessageFilter(int32 route_id);
+ VideoCaptureMessageFilter();
virtual ~VideoCaptureMessageFilter();
// Add a delegate to the map.
@@ -70,12 +70,12 @@
virtual void OnChannelClosing();
// Receive a newly created buffer from browser process.
- void OnBufferCreated(const IPC::Message& msg, int device_id,
+ void OnBufferCreated(int device_id,
base::SharedMemoryHandle handle,
int length, int buffer_id);
// Receive a buffer from browser process.
- void OnBufferReceived(const IPC::Message& msg, int device_id,
+ void OnBufferReceived(int device_id,
int buffer_id, base::Time timestamp);
// State of browser process' video capture device has changed.
@@ -83,16 +83,14 @@
const media::VideoCapture::State& state);
// Receive device info from browser process.
- void OnDeviceInfoReceived(const IPC::Message& msg, int device_id,
- media::VideoCaptureParams& params);
+ void OnDeviceInfoReceived(int device_id,
+ const media::VideoCaptureParams& params);
// A map of device ids to delegates.
Delegates delegates_;
Delegates pending_delegates_;
int32 last_device_id_;
- int32 route_id_;
-
IPC::Channel* channel_;
scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
« 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