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

Issue 7621070: Merge the plugin and impl side of the audio config and input event resources. (Closed)

Created:
9 years, 4 months ago by brettw
Modified:
9 years, 4 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Merge the plugin and impl side of the audio config and input event resources. Now that we have a unified resource system, we no longer need the duplication on both sides of the proxy. This resource is now implemented entirely in shared_impl. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98185

Patch Set 1 #

Patch Set 2 : Fix branch problem #

Patch Set 3 : Fixed compile issues #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -244 lines) Patch
M ppapi/proxy/plugin_resource_tracker.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/plugin_resource_tracker.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_audio_config_proxy.cc View 2 chunks +0 lines, -36 lines 1 comment Download
M ppapi/proxy/ppb_input_event_proxy.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ppapi/proxy/ppb_input_event_proxy.cc View 1 2 2 chunks +0 lines, -40 lines 0 comments Download
M ppapi/proxy/ppp_input_event_proxy.cc View 1 2 2 chunks +7 lines, -8 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 6 chunks +8 lines, -5 lines 1 comment Download
M ppapi/shared_impl/audio_config_impl.h View 1 1 chunk +19 lines, -6 lines 1 comment Download
M ppapi/shared_impl/audio_config_impl.cc View 1 2 chunks +42 lines, -10 lines 0 comments Download
M ppapi/shared_impl/input_event_impl.h View 3 chunks +19 lines, -7 lines 0 comments Download
M ppapi/shared_impl/input_event_impl.cc View 3 chunks +24 lines, -2 lines 0 comments Download
M ppapi/shared_impl/tracker_base.h View 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 4 chunks +5 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/ppb_audio_impl.h View 1 chunk +0 lines, -20 lines 0 comments Download
M webkit/plugins/ppapi/ppb_audio_impl.cc View 1 chunk +0 lines, -24 lines 0 comments Download
D webkit/plugins/ppapi/ppb_input_event_impl.h View 1 chunk +0 lines, -34 lines 0 comments Download
D webkit/plugins/ppapi/ppb_input_event_impl.cc View 1 chunk +0 lines, -36 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 7 chunks +10 lines, -6 lines 0 comments Download
M webkit/plugins/ppapi/resource_tracker.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/resource_tracker.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
brettw
9 years, 4 months ago (2011-08-18 18:07:50 UTC) #1
yzshen1
On 2011/08/18 18:07:50, brettw wrote: LGTM Just a few minor issues. Please fix them before ...
9 years, 4 months ago (2011-08-22 17:36:44 UTC) #2
yzshen1
9 years, 4 months ago (2011-08-22 17:37:00 UTC) #3
http://codereview.chromium.org/7621070/diff/3001/ppapi/proxy/ppb_audio_config...
File ppapi/proxy/ppb_audio_config_proxy.cc (left):

http://codereview.chromium.org/7621070/diff/3001/ppapi/proxy/ppb_audio_config...
ppapi/proxy/ppb_audio_config_proxy.cc:70: PP_Resource
PPB_AudioConfig_Proxy::CreateProxyResource(
You could also remove the declaration in the .h file.

http://codereview.chromium.org/7621070/diff/3001/ppapi/proxy/resource_creatio...
File ppapi/proxy/resource_creation_proxy.cc (right):

http://codereview.chromium.org/7621070/diff/3001/ppapi/proxy/resource_creatio...
ppapi/proxy/resource_creation_proxy.cc:28: #include
"ppapi/proxy/ppb_input_event_proxy.h"
Do you still need this one?

http://codereview.chromium.org/7621070/diff/3001/ppapi/shared_impl/audio_conf...
File ppapi/shared_impl/audio_config_impl.h (right):

http://codereview.chromium.org/7621070/diff/3001/ppapi/shared_impl/audio_conf...
ppapi/shared_impl/audio_config_impl.h:37: AudioConfigImpl(const HostResource&
host_resource);  // Proxy constructor.
It may be good to mark them as 'explicit'.

Powered by Google App Engine
This is Rietveld 408576698