diff options
author | scheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 18:28:30 +0000 |
---|---|---|
committer | scheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 18:28:30 +0000 |
commit | 6da661c5aacdd0c6cdbb4a0ac97a305bb5b97534 (patch) | |
tree | 8515acfc2ef5e60d6fea59fbea321f7f39794434 /ppapi/proxy/plugin_globals.h | |
parent | e066da3d74766c57ee6239e7902a7e612205f53d (diff) | |
download | chromium_src-6da661c5aacdd0c6cdbb4a0ac97a305bb5b97534.zip chromium_src-6da661c5aacdd0c6cdbb4a0ac97a305bb5b97534.tar.gz chromium_src-6da661c5aacdd0c6cdbb4a0ac97a305bb5b97534.tar.bz2 |
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 third land of this change - handling DISABLE_NACL builds.
BUG=350510
Review URL: https://codereview.chromium.org/211513002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/plugin_globals.h')
-rw-r--r-- | ppapi/proxy/plugin_globals.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ppapi/proxy/plugin_globals.h b/ppapi/proxy/plugin_globals.h index dac33b6..5dc614d 100644 --- a/ppapi/proxy/plugin_globals.h +++ b/ppapi/proxy/plugin_globals.h @@ -137,8 +137,7 @@ class PPAPI_PROXY_EXPORT PluginGlobals : public PpapiGlobals { // Interval to limit how many IPC messages are sent indicating that the plugin // is active and should be kept alive. The value must be smaller than any // threshold used to kill inactive plugins by the embedder host. - int keepalive_throttle_interval_milliseconds() const; - void set_keepalive_throttle_interval_milliseconds(int i); + void set_keepalive_throttle_interval_milliseconds(unsigned i); private: class BrowserSender; @@ -183,7 +182,7 @@ class PPAPI_PROXY_EXPORT PluginGlobals : public PpapiGlobals { // all considered active. bool plugin_recently_active_; - int keepalive_throttle_interval_milliseconds_; + unsigned keepalive_throttle_interval_milliseconds_; // Member variables should appear before the WeakPtrFactory, see weak_ptr.h. base::WeakPtrFactory<PluginGlobals> weak_factory_; |