summaryrefslogtreecommitdiffstats
path: root/remoting/host/desktop_session_agent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/desktop_session_agent.cc')
-rw-r--r--remoting/host/desktop_session_agent.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/remoting/host/desktop_session_agent.cc b/remoting/host/desktop_session_agent.cc
index 23d05f2..840d588 100644
--- a/remoting/host/desktop_session_agent.cc
+++ b/remoting/host/desktop_session_agent.cc
@@ -24,7 +24,6 @@
#include "remoting/proto/control.pb.h"
#include "remoting/proto/event.pb.h"
#include "remoting/protocol/clipboard_stub.h"
-#include "remoting/protocol/errors.h"
#include "remoting/protocol/input_event_tracker.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
@@ -223,8 +222,8 @@ const std::string& DesktopSessionAgent::client_jid() const {
return client_jid_;
}
-void DesktopSessionAgent::DisconnectSession(protocol::ErrorCode error) {
- SendToNetwork(new ChromotingDesktopNetworkMsg_DisconnectSession(error));
+void DesktopSessionAgent::DisconnectSession() {
+ SendToNetwork(new ChromotingDesktopNetworkMsg_DisconnectSession());
}
void DesktopSessionAgent::OnLocalMouseMoved(