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

Issue 10543029: PPAPI/NaCl: Reinitialize some stuff when the ipc proxy starts. (Closed)

Created:
8 years, 6 months ago by dmichael (off chromium)
Modified:
8 years, 6 months ago
Reviewers:
bbudge, brettw
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

PPAPI/NaCl: Reinitialize some stuff when the ipc proxy starts. Also refactor the PPP_Instance version checking so I don't have to write the fall-back from 1.1 to 1.0 yet again. BUG=116317 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143006

Patch Set 1 #

Patch Set 2 : refactor PPP_Instance_Combined creation, clear other PPP interfaces #

Patch Set 3 : Fix unit tests #

Patch Set 4 : enforce ordering of events, make previous view emptyenforce ordering of events, make previous view … #

Total comments: 1

Patch Set 5 : Remove a stranded comment. #

Total comments: 14

Patch Set 6 : Review comments #

Patch Set 7 : Merge, fix commented-out empty_view #

Total comments: 1

Patch Set 8 : merge #

Patch Set 9 : should fix mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -87 lines) Patch
M ppapi/proxy/ppapi_proxy_test.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/proxy/ppp_instance_proxy.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -10 lines 0 comments Download
M ppapi/shared_impl/ppp_instance_combined.h View 1 2 3 4 5 3 chunks +10 lines, -2 lines 0 comments Download
M ppapi/shared_impl/ppp_instance_combined.cc View 1 1 chunk +21 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/host_var_tracker_unittest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 7 2 chunks +20 lines, -8 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 4 5 6 7 5 chunks +28 lines, -16 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 8 7 chunks +92 lines, -43 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_unittest.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
dmichael (off chromium)
http://codereview.chromium.org/10543029/diff/2003/ppapi/proxy/ppapi_proxy_test.cc File ppapi/proxy/ppapi_proxy_test.cc (right): http://codereview.chromium.org/10543029/diff/2003/ppapi/proxy/ppapi_proxy_test.cc#newcode279 ppapi/proxy/ppapi_proxy_test.cc:279: status_receiver_.release())); This was causing a crash when I tried ...
8 years, 6 months ago (2012-06-12 21:25:46 UTC) #1
brettw
http://codereview.chromium.org/10543029/diff/12002/ppapi/shared_impl/ppp_instance_combined.h File ppapi/shared_impl/ppp_instance_combined.h (right): http://codereview.chromium.org/10543029/diff/12002/ppapi/shared_impl/ppp_instance_combined.h#newcode19 ppapi/shared_impl/ppp_instance_combined.h:19: typedef const void*(GetInterfaceFunc)(const char*); You can use PPP_GetInterface_Func and ...
8 years, 6 months ago (2012-06-14 17:58:35 UTC) #2
dmichael (off chromium)
Addressed comments. I'm seeing a failure for OutOfProcessPPAPITest.Fullscreen on Mac trybots right now; not sure ...
8 years, 6 months ago (2012-06-14 19:37:18 UTC) #3
brettw
lgtm
8 years, 6 months ago (2012-06-14 23:49:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/10543029/10006
8 years, 6 months ago (2012-06-15 17:49:29 UTC) #5
commit-bot: I haz the power
Try job failure for 10543029-10006 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 6 months ago (2012-06-15 18:53:00 UTC) #6
bbudge
IIRC, the Fullscreen tests are sensitive to DidChangeView event count. Perhaps the consolidation is causing ...
8 years, 6 months ago (2012-06-16 01:15:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/10543029/26001
8 years, 6 months ago (2012-06-19 17:57:06 UTC) #8
commit-bot: I haz the power
Change committed as 143006
8 years, 6 months ago (2012-06-19 19:03:41 UTC) #9
bbudge
http://codereview.chromium.org/10543029/diff/10006/webkit/plugins/ppapi/plugin_module.cc File webkit/plugins/ppapi/plugin_module.cc (right): http://codereview.chromium.org/10543029/diff/10006/webkit/plugins/ppapi/plugin_module.cc#newcode505 webkit/plugins/ppapi/plugin_module.cc:505: out_of_process_proxy_->AddInstance(instance); I think I'm doing this in chrome/renderer/pepper/ppb_nacl_private_impl.cc and ...
8 years, 6 months ago (2012-06-19 23:29:46 UTC) #10
dmichael (off chromium)
8 years, 6 months ago (2012-06-20 20:28:55 UTC) #11
On Tue, Jun 19, 2012 at 5:29 PM, <bbudge@chromium.org> wrote:

>
> http://codereview.chromium.**org/10543029/diff/10006/**
>
webkit/plugins/ppapi/plugin_**module.cc<http://codereview.chromium.org/10543029/diff/10006/webkit/plugins/ppapi/plugin_module.cc>
> File webkit/plugins/ppapi/plugin_**module.cc (right):
>
> http://codereview.chromium.**org/10543029/diff/10006/**
>
webkit/plugins/ppapi/plugin_**module.cc#newcode505<http://codereview.chromium.org/10543029/diff/10006/webkit/plugins/ppapi/plugin_module.cc#newcode505>
> webkit/plugins/ppapi/plugin_**module.cc:505:
> out_of_process_proxy_->**AddInstance(instance);
> I think I'm doing this in
> chrome/renderer/pepper/ppb_**nacl_private_impl.cc and that it's better
> done there (matches what the normal out-of-process proxy init code looks
> like.) It's harmless to do it twice though.
>
I did it here because PluginModule is also responsible for doing it in the
normal out-of-process case. I think you can argue it either way; but we
probably shouldn't do it twice (so if we ever want/need to "move" it or
change it, we do it in one place).

This is already landed, but if you think it belongs elsewhere, let's change
it in another CL (maybe your channel one, or a separate one).


>
http://codereview.chromium.**org/10543029/<http://codereview.chromium.org/105...
>

Powered by Google App Engine
This is Rietveld 408576698