diff options
Diffstat (limited to 'components/nacl/browser/nacl_process_host.h')
-rw-r--r-- | components/nacl/browser/nacl_process_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/nacl/browser/nacl_process_host.h b/components/nacl/browser/nacl_process_host.h index 9df7ade..eab94cd 100644 --- a/components/nacl/browser/nacl_process_host.h +++ b/components/nacl/browser/nacl_process_host.h @@ -78,6 +78,9 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { // Do any minimal work that must be done at browser startup. static void EarlyStartup(); + // Specifies throttling time in milliseconds for PpapiHostMsg_Keepalive IPCs. + static void SetPpapiKeepAliveThrottleForTesting(unsigned milliseconds); + // Initialize the new NaCl process. Result is returned by sending ipc // message reply_msg. void Launch(NaClHostMessageFilter* nacl_host_message_filter, @@ -220,6 +223,9 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { int render_view_id_; + // Throttling time in milliseconds for PpapiHostMsg_Keepalive IPCs. + static unsigned keepalive_throttle_interval_milliseconds_; + DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); }; |