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

Issue 4985001: Initial audio implementation. (Closed)

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

Description

Implement audio proxy for Pepper. In addition to the basic proxying, this required some changes to the dispatcher and process infrastructure to get the handles of the processes available when I need them so I can duplicate the shared memory handles properly into the different processes. TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68026

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 5

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+999 lines, -180 lines) Patch
M chrome/browser/browser_child_process_host.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browser_child_process_host.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ppapi_plugin_process_host.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ppapi_plugin_process_host.cc View 1 2 3 4 5 6 7 3 chunks +33 lines, -9 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/ppapi_plugin/ppapi_thread.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 5 6 7 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/ppapi.gyp View 1 2 3 4 5 6 7 2 chunks +25 lines, -0 lines 0 comments Download
M ppapi/proxy/DEPS View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/dispatcher.h View 1 2 3 4 5 6 7 4 chunks +12 lines, -1 line 0 comments Download
M ppapi/proxy/dispatcher.cc View 1 2 3 4 5 6 7 4 chunks +11 lines, -1 line 0 comments Download
M ppapi/proxy/host_dispatcher.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/proxy/host_dispatcher.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/proxy/interface_id.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/proxy/plugin_dispatcher.h View 1 2 3 4 5 6 7 3 chunks +4 lines, -1 line 0 comments Download
M ppapi/proxy/plugin_dispatcher.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/proxy/plugin_resource.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages_internal.h View 1 2 3 4 5 6 7 4 chunks +43 lines, -6 lines 0 comments Download
A ppapi/proxy/ppb_audio_config_proxy.h View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A ppapi/proxy/ppb_audio_config_proxy.cc View 1 2 1 chunk +135 lines, -0 lines 0 comments Download
A ppapi/proxy/ppb_audio_proxy.h View 1 2 3 4 1 chunk +78 lines, -0 lines 0 comments Download
A ppapi/proxy/ppb_audio_proxy.cc View 1 2 3 4 5 6 7 1 chunk +285 lines, -0 lines 0 comments Download
A ppapi/shared_impl/DEPS View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
A ppapi/shared_impl/README.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A ppapi/shared_impl/audio_impl.h View 1 2 3 4 5 6 7 1 chunk +85 lines, -0 lines 0 comments Download
A ppapi/shared_impl/audio_impl.cc View 1 2 3 4 5 6 7 1 chunk +96 lines, -0 lines 0 comments Download
M webkit/glue/plugins/pepper_audio.h View 1 2 3 4 5 6 7 4 chunks +23 lines, -48 lines 0 comments Download
M webkit/glue/plugins/pepper_audio.cc View 1 2 3 4 5 6 7 8 chunks +46 lines, -87 lines 0 comments Download
M webkit/glue/plugins/pepper_font.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_module.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_module.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -4 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
brettw
Sorry the proxy is so complicated. This is by far the worst one. Partially because ...
10 years ago (2010-12-01 00:23:05 UTC) #1
piman
Overall it looks reasonable. I have a few nits. http://codereview.chromium.org/4985001/diff/64001/ppapi/proxy/ppapi_messages_internal.h File ppapi/proxy/ppapi_messages_internal.h (right): http://codereview.chromium.org/4985001/diff/64001/ppapi/proxy/ppapi_messages_internal.h#newcode47 ppapi/proxy/ppapi_messages_internal.h:47: ...
10 years ago (2010-12-01 01:44:51 UTC) #2
brettw
Please take another look. I moved the shared code into a new directory/lib that I ...
10 years ago (2010-12-01 22:45:13 UTC) #3
brettw
+nicholas: You don't really need to review anything but I changed some stuff around in ...
10 years ago (2010-12-01 22:50:17 UTC) #4
piman
LGTM except for a nit and a question. I don't think volatile should ever be ...
10 years ago (2010-12-01 23:27:10 UTC) #5
nfullagar
http://codereview.chromium.org/4985001/diff/136001/webkit/glue/plugins/pepper_audio.h File webkit/glue/plugins/pepper_audio.h (right): http://codereview.chromium.org/4985001/diff/136001/webkit/glue/plugins/pepper_audio.h#newcode103 webkit/glue/plugins/pepper_audio.h:103: // invalid all other times. check last sentence above. ...
10 years ago (2010-12-01 23:34:21 UTC) #6
brettw
http://codereview.chromium.org/4985001/diff/136001/ppapi/proxy/ppb_audio_proxy.cc File ppapi/proxy/ppb_audio_proxy.cc (right): http://codereview.chromium.org/4985001/diff/136001/ppapi/proxy/ppb_audio_proxy.cc#newcode256 ppapi/proxy/ppb_audio_proxy.cc:256: *foreign_socket_handle = base::FileDescriptor(static_cast<int>(socket_handle), Ah yes, this was left over ...
10 years ago (2010-12-02 00:00:53 UTC) #7
piman
10 years ago (2010-12-02 00:07:25 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698