summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppapi_switches.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 05:02:58 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 05:02:58 +0000
commit34855e6c8666d51b92ef025a4f238e4c594c6d5e (patch)
tree7789208f31eac16434cdec7da0ef2270c1f68e2d /ppapi/shared_impl/ppapi_switches.cc
parentedc1250e0cf03038db503086dfd31082ed694d69 (diff)
downloadchromium_src-34855e6c8666d51b92ef025a4f238e4c594c6d5e.zip
chromium_src-34855e6c8666d51b92ef025a4f238e4c594c6d5e.tar.gz
chromium_src-34855e6c8666d51b92ef025a4f238e4c594c6d5e.tar.bz2
Revert of Replace --ppapi-keep-alive-throttle command line switch with IPC parameter. (https://codereview.chromium.org/197693003/)
Reason for revert: Broke building on http://build.chromium.org/p/chromium.memory/builders/Chromium%20OS%20%28x86%29%20ASan/builds/8599/steps/BuildPackages/logs/stdio This bot builds with disable_nacl=1 for some reason (mentioned in the stdio above somewhere – not sure why this is), and thus chrome_browser doesn't depend on nacl_browser, leading to this linker error when building browser_tests: chromeos-chrome-35.0.1889.0_alpha-r1: ../../../../../../../home/chrome-bot/chrome_root/src/chrome/browser/extensions/app_background_page_apitest.cc:134: error: undefined reference to 'nacl::NaClProcessHost::SetPpapiKeepAliveThrottleForTesting(unsigned int)' (Maybe this change generally breaks building browser_tests with disable_nacl=1?) Original issue's description: > Replace --ppapi-keep-alive-throttle command line switch with IPC parameter. > > Part of a broad effort to reduce the number of command line switches. > > This is the second land of this change - correcting a static initializer issue. > > BUG=350510 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256961 TBR=dmichael@chromium.org,tsepez@chromium.org,mseaborn@chromium.org,scheib@chromium.org NOTREECHECKS=true NOTRY=true BUG=350510 Review URL: https://codereview.chromium.org/199933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppapi_switches.cc')
-rw-r--r--ppapi/shared_impl/ppapi_switches.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/shared_impl/ppapi_switches.cc b/ppapi/shared_impl/ppapi_switches.cc
index 84ba250..2a3f1c28 100644
--- a/ppapi/shared_impl/ppapi_switches.cc
+++ b/ppapi/shared_impl/ppapi_switches.cc
@@ -9,4 +9,7 @@ namespace switches {
// Enables the testing interface for PPAPI.
const char kEnablePepperTesting[] = "enable-pepper-testing";
+// Specifies throttling time in milliseconds for PpapiHostMsg_Keepalive IPCs.
+const char kPpapiKeepAliveThrottle[] = "ppapi-keep-alive-throttle";
+
} // namespace switches