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

Issue 7184010: MediaStreamDispatcher (Closed)

Created:
9 years, 6 months ago by Per K
Modified:
9 years, 5 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., joi+watch-content_chromium.org, acolwell+watch_chromium.org, annacc, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM)
Visibility:
Public.

Description

MediaStreamDispatcher This is the second Chromium patch needed to support media streams http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#video-conferencing-and-peer-to-peer-communication. The first patch is here http://codereview.chromium.org/7192007/. The patch contain types needed in both the render and browser process and MediaStreamDispatcher that is used for sending request from the render process to the browser process for granting a webpage access to audio input and video capture devices. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90752

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 86

Patch Set 3 : '' #

Total comments: 18

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 3

Patch Set 8 : '' #

Total comments: 2

Patch Set 9 : '' #

Total comments: 7

Patch Set 10 : Fixed code review issues found by jam. #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+566 lines, -0 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A content/common/media/media_stream_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +66 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
A content/renderer/media/media_stream_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +96 lines, -0 lines 0 comments Download
A content/renderer/media/media_stream_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +157 lines, -0 lines 0 comments Download
A content/renderer/media/media_stream_dispatcher_eventhandler.h View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
A content/renderer/media/media_stream_dispatcher_unittest.cc View 1 2 3 4 5 1 chunk +201 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Leandro Graciá Gil
http://codereview.chromium.org/7184010/diff/5001/content/content_common.gypi File content/content_common.gypi (right): http://codereview.chromium.org/7184010/diff/5001/content/content_common.gypi#newcode146 content/content_common.gypi:146: 'common/media/media_stream_options.cc', Looks like the media_stream_options files belong to patch ...
9 years, 6 months ago (2011-06-16 17:40:01 UTC) #1
scherkus (not reviewing)
please also have BUG= and TEST= http://codereview.chromium.org/7184010/diff/5001/content/common/media_stream_messages.h File content/common/media_stream_messages.h (right): http://codereview.chromium.org/7184010/diff/5001/content/common/media_stream_messages.h#newcode1 content/common/media_stream_messages.h:1: // Copyright (c) ...
9 years, 6 months ago (2011-06-17 03:31:59 UTC) #2
Per K
Thanks guys. New upload. http://codereview.chromium.org/7184010/diff/5001/content/common/media_stream_messages.h File content/common/media_stream_messages.h (right): http://codereview.chromium.org/7184010/diff/5001/content/common/media_stream_messages.h#newcode1 content/common/media_stream_messages.h:1: // Copyright (c) 2011 The ...
9 years, 6 months ago (2011-06-17 15:47:54 UTC) #3
scherkus (not reviewing)
http://codereview.chromium.org/7184010/diff/7001/content/common/content_message_generator.h File content/common/content_message_generator.h (right): http://codereview.chromium.org/7184010/diff/7001/content/common/content_message_generator.h#newcode26 content/common/content_message_generator.h:26: #include "content/common/media_stream_messages.h" looks like you forgot to update this! ...
9 years, 6 months ago (2011-06-17 17:42:13 UTC) #4
scherkus (not reviewing)
oh and don't forget BUG= and TEST= in your CL description!
9 years, 6 months ago (2011-06-17 17:42:46 UTC) #5
Per K
Updated after Sherkus review. http://codereview.chromium.org/7184010/diff/7001/content/common/content_message_generator.h File content/common/content_message_generator.h (right): http://codereview.chromium.org/7184010/diff/7001/content/common/content_message_generator.h#newcode26 content/common/content_message_generator.h:26: #include "content/common/media_stream_messages.h" On 2011/06/17 17:42:13, ...
9 years, 6 months ago (2011-06-18 19:53:59 UTC) #6
scherkus (not reviewing)
LGTM w/ one nit http://codereview.chromium.org/7184010/diff/16002/content/renderer/media/media_stream_dispatcher.cc File content/renderer/media/media_stream_dispatcher.cc (right): http://codereview.chromium.org/7184010/diff/16002/content/renderer/media/media_stream_dispatcher.cc#newcode36 content/renderer/media/media_stream_dispatcher.cc:36: void MediaStreamDispatcher::StopStream(const std::string &label) { ...
9 years, 6 months ago (2011-06-21 00:12:01 UTC) #7
Per K
Updated due to updated in http://codereview.chromium.org/7192007/ Also fixed last nit. Thanks http://codereview.chromium.org/7184010/diff/16002/content/renderer/media/media_stream_dispatcher.cc File content/renderer/media/media_stream_dispatcher.cc (right): ...
9 years, 6 months ago (2011-06-21 10:37:09 UTC) #8
Leandro Graciá Gil
LGTM with a few minor details to check/fix. http://codereview.chromium.org/7184010/diff/20012/content/renderer/media/media_stream_dispatcher.cc File content/renderer/media/media_stream_dispatcher.cc (right): http://codereview.chromium.org/7184010/diff/20012/content/renderer/media/media_stream_dispatcher.cc#newcode110 content/renderer/media/media_stream_dispatcher.cc:110: // ...
9 years, 6 months ago (2011-06-21 18:24:22 UTC) #9
Leandro Graciá Gil
Please ignore my last comment about GE/GT and indices. I've just realized it's right as ...
9 years, 6 months ago (2011-06-21 18:26:04 UTC) #10
Per K
Updated to Chromium head. All needed prerequisites to this patch is now landed. Andrew , ...
9 years, 6 months ago (2011-06-22 08:11:56 UTC) #11
scherkus (not reviewing)
http://codereview.chromium.org/7184010/diff/25001/content/renderer/media/media_stream_dispatcher.h File content/renderer/media/media_stream_dispatcher.h (right): http://codereview.chromium.org/7184010/diff/25001/content/renderer/media/media_stream_dispatcher.h#newcode51 content/renderer/media/media_stream_dispatcher.h:51: typedef int IpcRequestId; nit: is it worth having a ...
9 years, 6 months ago (2011-06-22 22:27:24 UTC) #12
commit-bot: I haz the power
Presubmit check for 7184010-25001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 6 months ago (2011-06-22 22:27:52 UTC) #13
scherkus (not reviewing)
ah yes don't forget a TEST= and BUG= +jam for content/common/content_message_generator.h (and feel free to ...
9 years, 6 months ago (2011-06-22 22:30:25 UTC) #14
Per K
Fixed Scherkus comment. Thanks Per http://codereview.chromium.org/7184010/diff/25001/content/renderer/media/media_stream_dispatcher.h File content/renderer/media/media_stream_dispatcher.h (right): http://codereview.chromium.org/7184010/diff/25001/content/renderer/media/media_stream_dispatcher.h#newcode51 content/renderer/media/media_stream_dispatcher.h:51: typedef int IpcRequestId; On ...
9 years, 6 months ago (2011-06-23 07:37:20 UTC) #15
jam
On 2011/06/22 22:30:25, scherkus wrote: > ah yes don't forget a TEST= and BUG= no ...
9 years, 6 months ago (2011-06-23 18:23:25 UTC) #16
jam
lgtm with some tiny nits http://codereview.chromium.org/7184010/diff/32002/content/common/media/media_stream_messages.h File content/common/media/media_stream_messages.h (right): http://codereview.chromium.org/7184010/diff/32002/content/common/media/media_stream_messages.h#newcode21 content/common/media/media_stream_messages.h:21: IPC_ENUM_TRAITS(media_stream::MediaStreamType) nit: the convention ...
9 years, 6 months ago (2011-06-23 18:27:26 UTC) #17
Per K
Fixed nits. Removed DCHECK of the thread calling functions in order for the unit test ...
9 years, 6 months ago (2011-06-27 13:11:07 UTC) #18
jam
still lgtm On 2011/06/27 13:11:07, Per K wrote: > Fixed nits. Removed DCHECK of the ...
9 years, 6 months ago (2011-06-27 16:25:58 UTC) #19
scherkus (not reviewing)
LGTM w/ a note about the RenderThread stuff http://codereview.chromium.org/7184010/diff/32002/content/renderer/media/media_stream_dispatcher.cc File content/renderer/media/media_stream_dispatcher.cc (right): http://codereview.chromium.org/7184010/diff/32002/content/renderer/media/media_stream_dispatcher.cc#newcode26 content/renderer/media/media_stream_dispatcher.cc:26: DCHECK_EQ(MessageLoop::current(), ...
9 years, 6 months ago (2011-06-27 19:15:05 UTC) #20
commit-bot: I haz the power
Try job failure for 7184010-40001 (retry) on linux_clang for step "compile" (clobber build). It's a ...
9 years, 6 months ago (2011-06-28 09:12:47 UTC) #21
commit-bot: I haz the power
9 years, 5 months ago (2011-06-28 12:10:23 UTC) #22
Change committed as 90752

Powered by Google App Engine
This is Rietveld 408576698