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

Issue 11366038: Rewrite PPB_AudioInput_Dev to use the new-style host/resource. (Closed)

Created:
8 years, 1 month ago by yzshen1
Modified:
8 years, 1 month ago
Reviewers:
brettw, raymes
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, yzshen+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, native-client-reviews_googlegroups.com, ihf+watch_chromium.org
Visibility:
Public.

Description

Rewrite PPB_AudioInput_Dev to use the new-style host/resource. TEST=None BUG=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166777

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : Changes in response to reviewers' comments #

Patch Set 6 : #

Patch Set 7 : . #

Patch Set 8 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+898 lines, -1783 lines) Patch
M chrome/nacl/nacl_ipc_adapter.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/content_renderer.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/renderer/renderer_ppapi_host.h View 4 chunks +23 lines, -0 lines 0 comments Download
M content/renderer/pepper/content_renderer_pepper_host_factory.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/pepper/mock_renderer_ppapi_host.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/pepper/mock_renderer_ppapi_host.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -0 lines 0 comments Download
A content/renderer/pepper/pepper_audio_input_host.h View 1 chunk +98 lines, -0 lines 0 comments Download
A content/renderer/pepper/pepper_audio_input_host.cc View 1 2 1 chunk +255 lines, -0 lines 0 comments Download
M content/renderer/pepper/renderer_ppapi_host_impl.h View 2 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/pepper/renderer_ppapi_host_impl.cc View 4 chunks +20 lines, -2 lines 0 comments Download
M ppapi/api/dev/ppb_audio_input_dev.idl View 6 chunks +0 lines, -12 lines 0 comments Download
D ppapi/api/trusted/ppb_audio_input_trusted_dev.idl View 1 chunk +0 lines, -52 lines 0 comments Download
M ppapi/c/dev/ppb_audio_input_dev.h View 3 chunks +1 line, -13 lines 0 comments Download
D ppapi/c/trusted/ppb_audio_input_trusted_dev.h View 1 chunk +0 lines, -72 lines 0 comments Download
M ppapi/cpp/dev/audio_input_dev.h View 1 2 3 4 5 6 7 3 chunks +1 line, -44 lines 0 comments Download
M ppapi/cpp/dev/audio_input_dev.cc View 1 2 3 4 5 6 7 5 chunks +3 lines, -62 lines 0 comments Download
M ppapi/examples/audio_input/audio_input.cc View 5 chunks +21 lines, -53 lines 0 comments Download
M ppapi/examples/audio_input/audio_input.html View 2 chunks +3 lines, -7 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 12 chunks +1 line, -57 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 3 chunks +0 lines, -5 lines 0 comments Download
A ppapi/proxy/audio_input_resource.h View 1 2 3 1 chunk +125 lines, -0 lines 0 comments Download
A ppapi/proxy/audio_input_resource.cc View 1 2 3 4 1 chunk +275 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 7 chunks +18 lines, -29 lines 0 comments Download
D ppapi/proxy/ppb_audio_input_proxy.h View 1 chunk +0 lines, -96 lines 0 comments Download
D ppapi/proxy/ppb_audio_input_proxy.cc View 1 chunk +0 lines, -399 lines 0 comments Download
M ppapi/proxy/proxy_channel.cc View 2 chunks +13 lines, -1 line 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 3 chunks +2 lines, -12 lines 0 comments Download
D ppapi/shared_impl/ppb_audio_input_shared.h View 1 chunk +0 lines, -168 lines 0 comments Download
D ppapi/shared_impl/ppb_audio_input_shared.cc View 1 2 3 1 chunk +0 lines, -278 lines 0 comments Download
M ppapi/shared_impl/resource.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev.h View 1 2 3 2 chunks +1 line, -4 lines 0 comments Download
M ppapi/thunk/ppb_audio_input_api.h View 2 chunks +1 line, -14 lines 0 comments Download
M ppapi/thunk/ppb_audio_input_thunk.cc View 3 chunks +2 lines, -26 lines 0 comments Download
D ppapi/thunk/ppb_audio_input_trusted_thunk.cc View 1 chunk +0 lines, -67 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 2 chunks +0 lines, -6 lines 0 comments Download
M ppapi/thunk/thunk.h View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
D webkit/plugins/ppapi/ppb_audio_input_impl.h View 1 chunk +0 lines, -83 lines 0 comments Download
D webkit/plugins/ppapi/ppb_audio_input_impl.cc View 1 chunk +0 lines, -186 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 2 chunks +1 line, -11 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
yzshen1
Hi, Brett and Raymes. Would you please take a look? Thanks! I am very happy ...
8 years, 1 month ago (2012-11-01 17:18:08 UTC) #1
raymes
Hi Yuzhu, Could please re-upload the patch. I see "error: old chunk mismatch" when I ...
8 years, 1 month ago (2012-11-02 16:04:02 UTC) #2
raymes
Hi Yuzhu, Could please re-upload the patch. I see "error: old chunk mismatch" when I ...
8 years, 1 month ago (2012-11-02 16:04:02 UTC) #3
raymes
First pass. Looks good only a couple of nits. http://codereview.chromium.org/11366038/diff/6002/content/renderer/pepper/pepper_audio_input_host.cc File content/renderer/pepper/pepper_audio_input_host.cc (right): http://codereview.chromium.org/11366038/diff/6002/content/renderer/pepper/pepper_audio_input_host.cc#newcode36 content/renderer/pepper/pepper_audio_input_host.cc:36: ...
8 years, 1 month ago (2012-11-04 20:59:59 UTC) #4
yzshen1
http://codereview.chromium.org/11366038/diff/6002/content/renderer/pepper/pepper_audio_input_host.cc File content/renderer/pepper/pepper_audio_input_host.cc (right): http://codereview.chromium.org/11366038/diff/6002/content/renderer/pepper/pepper_audio_input_host.cc#newcode36 content/renderer/pepper/pepper_audio_input_host.cc:36: #error "Platform not supported." On 2012/11/04 20:59:59, raymes wrote: ...
8 years, 1 month ago (2012-11-06 22:14:20 UTC) #5
raymes
lgtm http://codereview.chromium.org/11366038/diff/12002/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): http://codereview.chromium.org/11366038/diff/12002/ppapi/proxy/ppapi_messages.h#newcode1682 ppapi/proxy/ppapi_messages.h:1682: IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) In theory you don't even have to ...
8 years, 1 month ago (2012-11-07 00:11:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/11366038/13001
8 years, 1 month ago (2012-11-07 21:07:28 UTC) #7
commit-bot: I haz the power
Failed to apply patch for ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-11-07 21:09:13 UTC) #8
brettw
lgtm http://codereview.chromium.org/11366038/diff/13001/ppapi/proxy/audio_input_resource.cc File ppapi/proxy/audio_input_resource.cc (right): http://codereview.chromium.org/11366038/diff/13001/ppapi/proxy/audio_input_resource.cc#newcode274 ppapi/proxy/audio_input_resource.cc:274: } // namespace proxy Nit: 2 spaces before ...
8 years, 1 month ago (2012-11-08 00:20:32 UTC) #9
yzshen1
Thanks! http://codereview.chromium.org/11366038/diff/12002/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): http://codereview.chromium.org/11366038/diff/12002/ppapi/proxy/ppapi_messages.h#newcode1682 ppapi/proxy/ppapi_messages.h:1682: IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) On 2012/11/07 00:11:46, raymes wrote: > In ...
8 years, 1 month ago (2012-11-08 18:57:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/11366038/6047
8 years, 1 month ago (2012-11-08 18:58:33 UTC) #11
commit-bot: I haz the power
Failed to apply patch for ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-11-08 18:58:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/11366038/48
8 years, 1 month ago (2012-11-08 19:19:47 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years, 1 month ago (2012-11-08 19:31:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/11366038/2007
8 years, 1 month ago (2012-11-08 20:30:44 UTC) #15
commit-bot: I haz the power
8 years, 1 month ago (2012-11-08 22:20:25 UTC) #16
Change committed as 166777

Powered by Google App Engine
This is Rietveld 408576698