diff options
author | sergeyu <sergeyu@chromium.org> | 2015-10-30 16:11:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-30 23:12:33 +0000 |
commit | 09750216bef8bc9f2953e4eee9f66801bf034fa4 (patch) | |
tree | cb45b2450860bbd33581c7361cc720e05db706a6 /remoting/host/disconnect_window_win.cc | |
parent | 8fe437a06a287010a48833eb657dde801da306a4 (diff) | |
download | chromium_src-09750216bef8bc9f2953e4eee9f66801bf034fa4.zip chromium_src-09750216bef8bc9f2953e4eee9f66801bf034fa4.tar.gz chromium_src-09750216bef8bc9f2953e4eee9f66801bf034fa4.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
Review URL: https://codereview.chromium.org/1430503002
Cr-Commit-Position: refs/heads/master@{#357215}
Diffstat (limited to 'remoting/host/disconnect_window_win.cc')
-rw-r--r-- | remoting/host/disconnect_window_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/disconnect_window_win.cc b/remoting/host/disconnect_window_win.cc index c0a7ecc..dff48cec 100644 --- a/remoting/host/disconnect_window_win.cc +++ b/remoting/host/disconnect_window_win.cc @@ -262,7 +262,7 @@ void DisconnectWindowWin::EndDialog() { } if (client_session_control_) - client_session_control_->DisconnectSession(); + client_session_control_->DisconnectSession(protocol::OK); } // Returns |control| rectangle in the dialog coordinates. |