diff options
author | sergeyu <sergeyu@chromium.org> | 2015-11-03 14:31:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-03 22:31:50 +0000 |
commit | ec77d854a19b75584ca9c0ccc243366d1b776f34 (patch) | |
tree | 627e437407303741858632e29cc0c0a817c2717a /remoting/host/client_session.h | |
parent | 9024e5102a47625ff857d54bf69007e1806672a1 (diff) | |
download | chromium_src-ec77d854a19b75584ca9c0ccc243366d1b776f34.zip chromium_src-ec77d854a19b75584ca9c0ccc243366d1b776f34.tar.gz chromium_src-ec77d854a19b75584ca9c0ccc243366d1b776f34.tar.bz2 |
Fix chromoting host to report error when closing connection.
Previously host would often close session without reporting the reason
to the client. Added two new error codes and updated the host to report
session termination reason when appropriate.
BUG=548261
Committed: https://crrev.com/09750216bef8bc9f2953e4eee9f66801bf034fa4
Cr-Commit-Position: refs/heads/master@{#357215}
Review URL: https://codereview.chromium.org/1430503002
Cr-Commit-Position: refs/heads/master@{#357652}
Diffstat (limited to 'remoting/host/client_session.h')
-rw-r--r-- | remoting/host/client_session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h index d41e83e..348552d 100644 --- a/remoting/host/client_session.h +++ b/remoting/host/client_session.h @@ -130,7 +130,7 @@ class ClientSession // ClientSessionControl interface. const std::string& client_jid() const override; - void DisconnectSession() override; + void DisconnectSession(protocol::ErrorCode error) override; void OnLocalMouseMoved(const webrtc::DesktopVector& position) override; void SetDisableInputs(bool disable_inputs) override; void ResetVideoPipeline() override; |