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

Issue 2762513002: Remove keep-alive impulse IPCs from NaCl modules. (Closed)

Created:
3 years, 9 months ago by Wez
Modified:
3 years, 9 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, extensions-reviews_chromium.org, jam, native-client-reviews_googlegroups.com, zel
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove keep-alive impulse IPCs from NaCl modules. NaCl modules used to dispatch regular IPCs to the browser, to boost the app/extension background page's keep-alive count for a short while. The IPCs were triggered by PPAPI calls being initiated by the module. Issue 472532 introduced a separate mechanism which keeps the background page alive so long as any NaCl module is loaded, regardless of whether or not the module is active, rendering the keep-alive impulse IPCs redundant. BUG=412621, 331954, 332440, 490440, 346278 Review-Url: https://codereview.chromium.org/2762513002 Cr-Commit-Position: refs/heads/master@{#459689} Committed: https://chromium.googlesource.com/chromium/src/+/d6be280f1167614a0dcee57708dde086e5ab0708

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address review comments #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -596 lines) Patch
M chrome/browser/extensions/app_background_page_apitest.cc View 1 3 chunks +52 lines, -96 lines 0 comments Download
M chrome/browser/extensions/lazy_background_page_apitest.cc View 1 chunk +0 lines, -33 lines 0 comments Download
M chrome/browser/nacl_host/nacl_browser_delegate_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/nacl_host/nacl_browser_delegate_impl.cc View 2 chunks +0 lines, -49 lines 0 comments Download
M components/nacl/browser/nacl_browser_delegate.h View 1 chunk +0 lines, -4 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 3 chunks +0 lines, -13 lines 0 comments Download
M components/nacl/browser/test_nacl_browser_delegate.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/nacl/browser/test_nacl_browser_delegate.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.h View 4 chunks +0 lines, -8 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc View 4 chunks +0 lines, -40 lines 0 comments Download
M content/public/browser/browser_ppapi_host.h View 2 chunks +0 lines, -15 lines 0 comments Download
M extensions/browser/process_manager.h View 1 2 4 chunks +0 lines, -24 lines 0 comments Download
M extensions/browser/process_manager.cc View 1 2 6 chunks +6 lines, -115 lines 0 comments Download
M extensions/shell/browser/shell_nacl_browser_delegate.h View 1 chunk +0 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_nacl_browser_delegate.cc View 2 chunks +0 lines, -38 lines 0 comments Download
M ppapi/nacl_irt/ppapi_dispatcher.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M ppapi/proxy/plugin_globals.h View 3 chunks +0 lines, -17 lines 0 comments Download
M ppapi/proxy/plugin_globals.cc View 4 chunks +0 lines, -31 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 2 chunks +0 lines, -4 lines 0 comments Download
M ppapi/shared_impl/ppapi_constants.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ppapi/shared_impl/ppapi_globals.h View 1 chunk +0 lines, -6 lines 0 comments Download
M ppapi/shared_impl/ppapi_globals.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/shared_impl/ppapi_nacl_plugin_args.h View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/shared_impl/ppapi_nacl_plugin_args.cc View 1 chunk +1 line, -4 lines 0 comments Download
M ppapi/tests/extensions/background_keepalive/background.js View 1 1 chunk +35 lines, -22 lines 0 comments Download
M ppapi/thunk/enter.h View 5 chunks +9 lines, -12 lines 0 comments Download
M ppapi/thunk/enter.cc View 10 chunks +28 lines, -43 lines 0 comments Download

Messages

Total messages: 31 (18 generated)
Wez
PTAL - removes the keepalive impulse from PPAPI calls. Will add OWNERS for the no-extension ...
3 years, 9 months ago (2017-03-19 19:56:04 UTC) #6
Devlin
Nice! Love seeing that much red. :) A few nits, and I wanna take another ...
3 years, 9 months ago (2017-03-21 01:08:15 UTC) #7
Wez
mseaborn: components/nacl & chrome/browser/nacl_host bbudge: ppapi/ & content/browser/renderer_host nasko: ppapi/proxy/ppapi_messages.h zelidrag: FYI; this is removing ...
3 years, 9 months ago (2017-03-21 23:59:23 UTC) #11
bbudge
content/browser/renderer_host/pepper and ppapi LGTM
3 years, 9 months ago (2017-03-22 00:50:16 UTC) #12
Devlin
extensions lgtm
3 years, 9 months ago (2017-03-23 01:30:06 UTC) #15
Wez
s/nasko/palmer: *messages.h s/mseaborn/jochen: NaCl stuffs.
3 years, 9 months ago (2017-03-23 22:23:16 UTC) #17
palmer
lgtm
3 years, 9 months ago (2017-03-23 22:55:51 UTC) #18
Mark Seaborn
On 2017/03/21 23:59:23, Wez wrote: > mseaborn: components/nacl & chrome/browser/nacl_host LGTM for components/nacl & chrome/browser/nacl_host
3 years, 9 months ago (2017-03-24 01:49:56 UTC) #19
jochen (gone - plz use gerrit)
lgtm
3 years, 9 months ago (2017-03-24 09:35:12 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2762513002/20001
3 years, 9 months ago (2017-03-24 23:15:32 UTC) #23
commit-bot: I haz the power
Failed to apply patch for extensions/browser/process_manager.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-25 00:16:22 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2762513002/40001
3 years, 9 months ago (2017-03-27 00:25:39 UTC) #28
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 01:50:26 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d6be280f1167614a0dcee57708dd...

Powered by Google App Engine
This is Rietveld 408576698