Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1118)

Unified Diff: remoting/host/win/rdp_desktop_session.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/win/rdp_desktop_session.cc
diff --git a/remoting/host/win/rdp_desktop_session.cc b/remoting/host/win/rdp_desktop_session.cc
index 19980becba19dd64235244cc0d082125e0225046..1f3a74473badfc88ec761b7d7f16564b4960ce5a 100644
--- a/remoting/host/win/rdp_desktop_session.cc
+++ b/remoting/host/win/rdp_desktop_session.cc
@@ -53,14 +53,12 @@ STDMETHODIMP RdpDesktopSession::InjectSas() {
void RdpDesktopSession::OnRdpConnected() {
HRESULT result = event_handler_->OnRdpConnected();
- CHECK(SUCCEEDED(result)) << "OnRdpConnected() failed: 0x"
- << std::hex << result << std::dec << ".";
+ CHECK(SUCCEEDED(result));
}
void RdpDesktopSession::OnRdpClosed() {
HRESULT result = event_handler_->OnRdpClosed();
- CHECK(SUCCEEDED(result)) << "OnRdpClosed() failed: 0x" << std::hex << result
- << std::dec << ".";
+ CHECK(SUCCEEDED(result));
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698