diff options
author | kelvinp <kelvinp@chromium.org> | 2015-10-07 14:19:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-07 21:21:27 +0000 |
commit | bdf351e541afa34f8fcf178a7f86ea548d436f6f (patch) | |
tree | 538b00b5538cebf53fde6e5ea2e2466840c53df0 /remoting/remoting_webapp_files.gypi | |
parent | 00866323f16909f5be42d2a11122a405d5c06ff2 (diff) | |
download | chromium_src-bdf351e541afa34f8fcf178a7f86ea548d436f6f.zip chromium_src-bdf351e541afa34f8fcf178a7f86ea548d436f6f.tar.gz chromium_src-bdf351e541afa34f8fcf178a7f86ea548d436f6f.tar.bz2 |
Improve reconnect behavior.
Summary of changes:
1. Dispose the desktop activity before reconnecting, otherwise
the desktop activity will be set to null AFTER the
re-connection.
2. Drop the session after 30s of suspension as we cannot
recover from the connection loss after 30s.
3. Add an integration test for the reconnect behavior.
4. Implements a NetworkConnectivityDetector that provides a
reliability way of detecting network connectivity with
unittest.
5. Simplify the SmartReconnector to use NetworkConnectivityDetector.
6. Add a dispose method on AutoRetryXhr.
BUG=537812,536877
Review URL: https://codereview.chromium.org/1382593007
Cr-Commit-Position: refs/heads/master@{#352948}
Diffstat (limited to 'remoting/remoting_webapp_files.gypi')
-rw-r--r-- | remoting/remoting_webapp_files.gypi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/remoting_webapp_files.gypi b/remoting/remoting_webapp_files.gypi index a080136..b18e540 100644 --- a/remoting/remoting_webapp_files.gypi +++ b/remoting/remoting_webapp_files.gypi @@ -97,6 +97,7 @@ 'webapp/base/js/identity_unittest.js', 'webapp/base/js/ipc_unittest.js', 'webapp/base/js/l10n_unittest.js', + 'webapp/base/js/network_connectivity_detector_unittest.js', 'webapp/base/js/platform_unittest.js', 'webapp/base/js/protocol_extension_manager_unittest.js', 'webapp/base/js/session_logger_unittest.js', @@ -182,7 +183,6 @@ 'webapp/base/js/credentials_provider.js', 'webapp/base/js/experiments.js', 'webapp/base/js/host_desktop.js', - 'webapp/base/js/smart_reconnector.js', 'webapp/base/js/telemetry_event_writer.js', 'webapp/base/js/xmpp_error_cache.js', ], @@ -198,6 +198,7 @@ 'webapp/base/js/protocol_extension_manager.js', 'webapp/base/js/protocol_extension.js', 'webapp/base/js/error.js', + 'webapp/base/js/network_connectivity_detector.js', 'webapp/base/js/plugin_settings.js', 'webapp/base/js/suspend_detector.js', 'webapp/base/js/typecheck.js', |