| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "remoting/host/win/rdp_desktop_session.h" | 5 #include "remoting/host/win/rdp_desktop_session.h" |
| 6 | 6 |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "remoting/base/auto_thread_task_runner.h" | 8 #include "remoting/base/auto_thread_task_runner.h" |
| 9 #include "remoting/host/win/chromoting_module.h" | 9 #include "remoting/host/win/chromoting_module.h" |
| 10 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 10 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 } | 46 } |
| 47 | 47 |
| 48 STDMETHODIMP RdpDesktopSession::InjectSas() { | 48 STDMETHODIMP RdpDesktopSession::InjectSas() { |
| 49 if (client_) | 49 if (client_) |
| 50 client_->InjectSas(); | 50 client_->InjectSas(); |
| 51 return S_OK; | 51 return S_OK; |
| 52 } | 52 } |
| 53 | 53 |
| 54 void RdpDesktopSession::OnRdpConnected() { | 54 void RdpDesktopSession::OnRdpConnected() { |
| 55 HRESULT result = event_handler_->OnRdpConnected(); | 55 HRESULT result = event_handler_->OnRdpConnected(); |
| 56 CHECK(SUCCEEDED(result)) << "OnRdpConnected() failed: 0x" | 56 CHECK(SUCCEEDED(result)); |
| 57 << std::hex << result << std::dec << "."; | |
| 58 } | 57 } |
| 59 | 58 |
| 60 void RdpDesktopSession::OnRdpClosed() { | 59 void RdpDesktopSession::OnRdpClosed() { |
| 61 HRESULT result = event_handler_->OnRdpClosed(); | 60 HRESULT result = event_handler_->OnRdpClosed(); |
| 62 CHECK(SUCCEEDED(result)) << "OnRdpClosed() failed: 0x" << std::hex << result | 61 CHECK(SUCCEEDED(result)); |
| 63 << std::dec << "."; | |
| 64 } | 62 } |
| 65 | 63 |
| 66 } // namespace remoting | 64 } // namespace remoting |
| OLD | NEW |