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

Unified Diff: content/common/media/video_capture_messages.h

Issue 2395163002: VideoCapture: migrate VideoCapture renderer-->host messages to mojo, part 2 (Closed)
Patch Set: rockot@s comments on renaming and return types 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
« no previous file with comments | « content/common/OWNERS ('k') | content/common/typemaps.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/video_capture_messages.h
diff --git a/content/common/media/video_capture_messages.h b/content/common/media/video_capture_messages.h
index 1c92066c252aa8bece70a61b065e0e446bbc1c84..da63ca1461efae71e983ef7dbc3b17a9c51c43d8 100644
--- a/content/common/media/video_capture_messages.h
+++ b/content/common/media/video_capture_messages.h
@@ -17,18 +17,8 @@
IPC_ENUM_TRAITS_MAX_VALUE(content::VideoCaptureState,
content::VIDEO_CAPTURE_STATE_LAST)
-IPC_ENUM_TRAITS_MAX_VALUE(media::ResolutionChangePolicy,
- media::RESOLUTION_POLICY_LAST)
IPC_ENUM_TRAITS_MAX_VALUE(media::VideoFrame::StorageType,
media::VideoFrame::STORAGE_LAST)
-IPC_ENUM_TRAITS_MAX_VALUE(media::PowerLineFrequency,
- media::PowerLineFrequency::FREQUENCY_MAX)
-
-IPC_STRUCT_TRAITS_BEGIN(media::VideoCaptureParams)
- IPC_STRUCT_TRAITS_MEMBER(requested_format)
- IPC_STRUCT_TRAITS_MEMBER(resolution_change_policy)
- IPC_STRUCT_TRAITS_MEMBER(power_line_frequency)
-IPC_STRUCT_TRAITS_END()
IPC_STRUCT_BEGIN(VideoCaptureMsg_BufferReady_Params)
IPC_STRUCT_MEMBER(int, device_id)
@@ -88,20 +78,6 @@ IPC_MESSAGE_CONTROL2(VideoCaptureMsg_DeviceFormatsInUseReceived,
int /* device_id */,
media::VideoCaptureFormats /* formats_in_use */)
-// Start a video capture as |device_id|, a new id picked by the renderer
-// process. The session to be started is determined by |params.session_id|.
-IPC_MESSAGE_CONTROL3(VideoCaptureHostMsg_Start,
- int /* device_id */,
- media::VideoCaptureSessionId, /* session_id */
- media::VideoCaptureParams /* params */)
-
-// Resume the video capture specified by |device_id|, |session_id| and
-// |params|.
-IPC_MESSAGE_CONTROL3(VideoCaptureHostMsg_Resume,
- int, /* device_id */
- media::VideoCaptureSessionId, /* session_id */
- media::VideoCaptureParams /* params */)
-
// Tell the browser process that the renderer has finished reading from
// a buffer previously delivered by VideoCaptureMsg_BufferReady.
IPC_MESSAGE_CONTROL4(VideoCaptureHostMsg_BufferReady,
« no previous file with comments | « content/common/OWNERS ('k') | content/common/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698