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

Issue 7189045: Make o.o.p. proxy handle PPP_Instance versions 0.4 and 0.5. (Closed)

Created:
9 years, 6 months ago by dmichael (off chromium)
Modified:
9 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Make o.o.p. proxy handle PPP_Instance versions 0.4 and 0.5. Move & tweak PPP_Instance_Combined to ppapi_shared so the proxy can use it. Use versioned PPP_Instance types only. BUG=82606 TEST=run tests o.o.p. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90984

Patch Set 1 #

Patch Set 2 : Update unit tests for move of PPP_Instance_Combined. Tweak PluginInstance creation. #

Patch Set 3 : Map both versions of PPP_Instance to INTERFACE_ID_PPP_INSTANCE #

Patch Set 4 : Make HostDispatcher remember plugin IFs by name, not ID #

Total comments: 2

Patch Set 5 : Added test for PPP_Instance_Proxy #

Patch Set 6 : Fixed try errors, addressed brettw's comment, refactored for testing PPB proxies #

Patch Set 7 : cleanup closing of unnamed namespace #

Total comments: 1

Patch Set 8 : merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+951 lines, -190 lines) Patch
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/dispatcher.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/proxy/dispatcher.cc View 1 2 3 4 5 6 7 3 chunks +2 lines, -14 lines 0 comments Download
M ppapi/proxy/host_dispatcher.h View 1 2 3 4 5 1 chunk +4 lines, -6 lines 0 comments Download
M ppapi/proxy/host_dispatcher.cc View 1 2 3 4 5 2 chunks +12 lines, -17 lines 0 comments Download
M ppapi/proxy/host_dispatcher_unittest.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/proxy/plugin_dispatcher.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/plugin_dispatcher_unittest.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/proxy/plugin_resource_tracker.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/plugin_var_tracker.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppapi_proxy_test.h View 1 2 3 4 5 4 chunks +152 lines, -17 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.cc View 1 2 3 4 5 5 chunks +266 lines, -28 lines 0 comments Download
M ppapi/proxy/ppp_instance_proxy.h View 3 chunks +17 lines, -5 lines 0 comments Download
M ppapi/proxy/ppp_instance_proxy.cc View 1 2 6 chunks +43 lines, -21 lines 0 comments Download
A ppapi/proxy/ppp_instance_proxy_test.cc View 1 2 3 4 5 6 1 chunk +319 lines, -0 lines 0 comments Download
A ppapi/shared_impl/ppp_instance_combined.h View 1 chunk +26 lines, -0 lines 0 comments Download
A ppapi/shared_impl/ppp_instance_combined.cc View 1 chunk +28 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -23 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 6 chunks +25 lines, -21 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 2 chunks +28 lines, -20 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_unittest.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/resource_tracker_unittest.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
dmichael (off chromium)
brettw primary, ddorwin FYI
9 years, 6 months ago (2011-06-17 22:31:05 UTC) #1
dmichael (off chromium)
I missed the unit tests when changing things, and the shuttle wifi is failing me ...
9 years, 6 months ago (2011-06-18 00:43:11 UTC) #2
brettw
LGTM http://codereview.chromium.org/7189045/diff/16050/ppapi/proxy/host_dispatcher.h File ppapi/proxy/host_dispatcher.h (right): http://codereview.chromium.org/7189045/diff/16050/ppapi/proxy/host_dispatcher.h#newcode120 ppapi/proxy/host_dispatcher.h:120: std::map<std::string, PluginIFSupport> plugin_if_support_; I guess I would have ...
9 years, 6 months ago (2011-06-24 00:35:24 UTC) #3
dmichael (off chromium)
Okay, I finally have a test up and running. I refactored the proxy test stuff ...
9 years, 5 months ago (2011-06-28 22:53:10 UTC) #4
dmichael(do not use this one)
Looks like I forgot an include that's breaking my windows try... I also forgot to ...
9 years, 5 months ago (2011-06-29 00:17:36 UTC) #5
dmichael (off chromium)
Okay, I think this one's ready to go. Sorry this has taken so long; since ...
9 years, 5 months ago (2011-06-29 16:13:57 UTC) #6
brettw
9 years, 5 months ago (2011-06-29 17:11:29 UTC) #7
LGTM, testing stuff looks sweet.

http://codereview.chromium.org/7189045/diff/23004/ppapi/proxy/plugin_dispatch...
File ppapi/proxy/plugin_dispatcher.cc (right):

http://codereview.chromium.org/7189045/diff/23004/ppapi/proxy/plugin_dispatch...
ppapi/proxy/plugin_dispatcher.cc:134: if (msg.routing_id() <= 0 ||
msg.routing_id() >= INTERFACE_ID_COUNT) {
Whoops!

Powered by Google App Engine
This is Rietveld 408576698