diff options
author | scheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-20 10:40:27 +0000 |
---|---|---|
committer | scheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-20 10:40:27 +0000 |
commit | cc7126cc8e4050e80abde5332f695ffa1fc36caa (patch) | |
tree | 4b7696a6b23788d7a9cf562e3221a66a3f3f04b9 /components/nacl/browser/nacl_process_host.cc | |
parent | 5e3e3a9e4955653b835b55a3a2d4a3daad9ef1e0 (diff) | |
download | chromium_src-cc7126cc8e4050e80abde5332f695ffa1fc36caa.zip chromium_src-cc7126cc8e4050e80abde5332f695ffa1fc36caa.tar.gz chromium_src-cc7126cc8e4050e80abde5332f695ffa1fc36caa.tar.bz2 |
Test Keeping NaCl plugins used in app background pages alive when active.
Activity in Native Client plugins results in IPC messages
sent to the BrowserPpapiHostImpl and routed to call
extensions::ProcessManager::KeepaliveImpulse.
Testing patch, builds on implementation. See:
https://codereview.chromium.org/61063003/ Implementation.
https://codereview.chromium.org/105873003/ Cumulative patch.
Design doc:
https://docs.google.com/a/chromium.org/document/d/1mI0lS1rfAf-BAGLmWAEcWy37Xq9dOvgfMx8OqeUMXts/edit#
BUG=298339
Review URL: https://codereview.chromium.org/111563006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/nacl/browser/nacl_process_host.cc')
-rw-r--r-- | components/nacl/browser/nacl_process_host.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc index 6bd813d..6ad6f21 100644 --- a/components/nacl/browser/nacl_process_host.cc +++ b/components/nacl/browser/nacl_process_host.cc @@ -810,7 +810,11 @@ void NaClProcessHost::OnPpapiChannelCreated( args.permissions = permissions_; CommandLine* cmdline = CommandLine::ForCurrentProcess(); DCHECK(cmdline); - std::string flag_whitelist[] = {switches::kV, switches::kVModule}; + std::string flag_whitelist[] = { + switches::kPpapiKeepAliveThrottle, + switches::kV, + switches::kVModule, + }; for (size_t i = 0; i < arraysize(flag_whitelist); ++i) { std::string value = cmdline->GetSwitchValueASCII(flag_whitelist[i]); if (!value.empty()) { |