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

Issue 5202002: changes for proxy audio (Closed)

Created:
10 years, 1 month ago by nfullagar
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, stuartmorgan+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

changes for proxy audio - includes Darin's changes to move StreamCreated() to main thread - callback for delivering handles to proxy - changes to trusted interface BUG=none TEST=chrome/src/ppapi/examples/audio/audio.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67354

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 11

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 33

Patch Set 11 : '' #

Total comments: 11

Patch Set 12 : '' #

Total comments: 4

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Patch Set 19 : '' #

Patch Set 20 : '' #

Patch Set 21 : '' #

Total comments: 18

Patch Set 22 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -56 lines) Patch
M chrome/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 5 chunks +22 lines, -4 lines 0 comments Download
M ppapi/c/dev/ppb_audio_trusted_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +26 lines, -12 lines 0 comments Download
M ppapi/examples/audio/audio.cc View 10 11 12 13 4 chunks +11 lines, -11 lines 0 comments Download
M webkit/glue/plugins/pepper_audio.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +27 lines, -5 lines 0 comments Download
M webkit/glue/plugins/pepper_audio.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 7 chunks +131 lines, -22 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
nfullagar
10 years, 1 month ago (2010-11-19 02:44:59 UTC) #1
darin (slow to review)
http://codereview.chromium.org/5202002/diff/37001/ppapi/c/dev/ppb_audio_trusted_dev.h File ppapi/c/dev/ppb_audio_trusted_dev.h (right): http://codereview.chromium.org/5202002/diff/37001/ppapi/c/dev/ppb_audio_trusted_dev.h#newcode13 ppapi/c/dev/ppb_audio_trusted_dev.h:13: // This callback is invoked during StreamCreated() from the ...
10 years, 1 month ago (2010-11-19 17:45:39 UTC) #2
nfullagar
responses below, thx -nicholas On Fri, Nov 19, 2010 at 9:45 AM, <darin@chromium.org> wrote: > ...
10 years, 1 month ago (2010-11-19 22:36:17 UTC) #3
darin (slow to review)
On Fri, Nov 19, 2010 at 2:36 PM, Nicholas Fullagar <nfullagar@google.com>wrote: > responses below, thx ...
10 years, 1 month ago (2010-11-20 00:15:51 UTC) #4
nfullagar
New version uploaded w/ Darin's trusted interface suggestion. On Fri, Nov 19, 2010 at 4:15 ...
10 years, 1 month ago (2010-11-20 22:18:18 UTC) #5
brettw
http://codereview.chromium.org/5202002/diff/51001/ppapi/c/dev/ppb_audio_trusted_dev.h File ppapi/c/dev/ppb_audio_trusted_dev.h (right): http://codereview.chromium.org/5202002/diff/51001/ppapi/c/dev/ppb_audio_trusted_dev.h#newcode21 ppapi/c/dev/ppb_audio_trusted_dev.h:21: // Opens a paused audio interface, used by trusted ...
10 years, 1 month ago (2010-11-22 18:22:08 UTC) #6
neb
http://codereview.chromium.org/5202002/diff/51001/chrome/renderer/pepper_plugin_delegate_impl.cc File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/5202002/diff/51001/chrome/renderer/pepper_plugin_delegate_impl.cc#newcode182 chrome/renderer/pepper_plugin_delegate_impl.cc:182: MessageLoop* main_message_loop_; I'm not convinced you need to store ...
10 years, 1 month ago (2010-11-22 19:48:26 UTC) #7
brettw
http://codereview.chromium.org/5202002/diff/51001/ppapi/c/dev/ppb_audio_trusted_dev.h File ppapi/c/dev/ppb_audio_trusted_dev.h (right): http://codereview.chromium.org/5202002/diff/51001/ppapi/c/dev/ppb_audio_trusted_dev.h#newcode23 ppapi/c/dev/ppb_audio_trusted_dev.h:23: int32_t (*Open)(PP_Resource audio, PP_Resource config, At least in my ...
10 years, 1 month ago (2010-11-22 20:14:46 UTC) #8
nfullagar
I would like to discuss (in person) some of Neb's concerns some more, maybe tomorrow. ...
10 years, 1 month ago (2010-11-23 02:48:58 UTC) #9
brettw
http://codereview.chromium.org/5202002/diff/63001/chrome/renderer/pepper_plugin_delegate_impl.cc File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/5202002/diff/63001/chrome/renderer/pepper_plugin_delegate_impl.cc#newcode326 chrome/renderer/pepper_plugin_delegate_impl.cc:326: filter_->message_loop()->ReleaseSoon(FROM_HERE, this); I'm confused about this since it looks ...
10 years, 1 month ago (2010-11-23 07:10:19 UTC) #10
darin (slow to review)
On Mon, Nov 22, 2010 at 11:10 PM, <brettw@chromium.org> wrote: > > > http://codereview.chromium.org/5202002/diff/63001/chrome/renderer/pepper_plugin_delegate_impl.cc > ...
10 years, 1 month ago (2010-11-23 17:12:18 UTC) #11
neb
> The reference counting code is mine. I can explain what is going on. We ...
10 years, 1 month ago (2010-11-23 18:33:57 UTC) #12
darin (slow to review)
On Tue, Nov 23, 2010 at 10:33 AM, <neb@chromium.org> wrote: > The reference counting code ...
10 years, 1 month ago (2010-11-23 19:12:10 UTC) #13
darin (slow to review)
On Tue, Nov 23, 2010 at 11:12 AM, Darin Fisher <darin@chromium.org> wrote: > > > ...
10 years, 1 month ago (2010-11-23 19:13:40 UTC) #14
nfullagar
more fixes... ptal thanks! http://codereview.chromium.org/5202002/diff/63001/chrome/renderer/pepper_plugin_delegate_impl.cc File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/5202002/diff/63001/chrome/renderer/pepper_plugin_delegate_impl.cc#newcode326 chrome/renderer/pepper_plugin_delegate_impl.cc:326: filter_->message_loop()->ReleaseSoon(FROM_HERE, this); On 2010/11/23 07:10:19, ...
10 years, 1 month ago (2010-11-23 21:51:17 UTC) #15
brettw
LGTM http://codereview.chromium.org/5202002/diff/74001/webkit/glue/plugins/pepper_audio.cc File webkit/glue/plugins/pepper_audio.cc (right): http://codereview.chromium.org/5202002/diff/74001/webkit/glue/plugins/pepper_audio.cc#newcode274 webkit/glue/plugins/pepper_audio.cc:274: // At this point, we are guaranteeing ownership ...
10 years, 1 month ago (2010-11-23 22:24:39 UTC) #16
nfullagar
In addition, to pass trybots: - added "stuct" before PP_CompletionCallback to make c api compile ...
10 years, 1 month ago (2010-11-24 03:41:40 UTC) #17
darin (slow to review)
http://codereview.chromium.org/5202002/diff/125001/chrome/renderer/pepper_plugin_delegate_impl.cc File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/5202002/diff/125001/chrome/renderer/pepper_plugin_delegate_impl.cc#newcode324 chrome/renderer/pepper_plugin_delegate_impl.cc:324: // Release on the IO thread so that we ...
10 years, 1 month ago (2010-11-24 20:34:32 UTC) #18
nfullagar
feedback addressed, thx http://codereview.chromium.org/5202002/diff/125001/chrome/renderer/pepper_plugin_delegate_impl.cc File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/5202002/diff/125001/chrome/renderer/pepper_plugin_delegate_impl.cc#newcode324 chrome/renderer/pepper_plugin_delegate_impl.cc:324: // Release on the IO thread ...
10 years, 1 month ago (2010-11-24 23:01:05 UTC) #19
darin (slow to review)
LGTM
10 years, 1 month ago (2010-11-24 23:50:57 UTC) #20
nfullagar
committed as r67354
10 years, 1 month ago (2010-11-25 00:30:33 UTC) #21
brettw
10 years, 1 month ago (2010-11-25 00:37:01 UTC) #22
On Wed, Nov 24, 2010 at 4:30 PM,  <nfullagar@google.com> wrote:
> committed as r67354

Woo hoo!

Powered by Google App Engine
This is Rietveld 408576698