summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_webapp_files.gypi
diff options
context:
space:
mode:
authorkelvinp <kelvinp@chromium.org>2015-05-26 17:54:01 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-27 00:54:24 +0000
commit2a8128fc0c63c3e38ba25ddd82e09c586a8bd10d (patch)
tree91921ffad84f70b5ddbf7e84e2c17ef22a3caf8f /remoting/remoting_webapp_files.gypi
parentd879a2e3c4c65ae67a360784099f0690af523f72 (diff)
downloadchromium_src-2a8128fc0c63c3e38ba25ddd82e09c586a8bd10d.zip
chromium_src-2a8128fc0c63c3e38ba25ddd82e09c586a8bd10d.tar.gz
chromium_src-2a8128fc0c63c3e38ba25ddd82e09c586a8bd10d.tar.bz2
[AppRemoting] Drop the connection after resuming from a sleep > 30s.
Summary of changes: 1. Implements a resume detector by detecting differences in the time elapsed between ticks in setInterval(). 2. Drops the connection if the client with ERROR_CLIENT_SUSPENDED if the webapp resumes from a sleep longer than 30s. 3. A follow up CL will be done to update the error code on the directory service. BUG=486888 Review URL: https://codereview.chromium.org/1148993003 Cr-Commit-Position: refs/heads/master@{#331493}
Diffstat (limited to 'remoting/remoting_webapp_files.gypi')
-rw-r--r--remoting/remoting_webapp_files.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/remoting_webapp_files.gypi b/remoting/remoting_webapp_files.gypi
index 565a260..1310232 100644
--- a/remoting/remoting_webapp_files.gypi
+++ b/remoting/remoting_webapp_files.gypi
@@ -179,6 +179,7 @@
'webapp/base/js/protocol_extension.js',
'webapp/base/js/error.js',
'webapp/base/js/plugin_settings.js',
+ 'webapp/base/js/suspend_detector.js',
'webapp/base/js/typecheck.js',
'webapp/base/js/xhr.js',
],