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

Unified Diff: remoting/host/curtain_mode_mac.cc

Issue 1026553005: Add logging to CHECK failure during curtain-mode on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/curtain_mode_mac.cc
diff --git a/remoting/host/curtain_mode_mac.cc b/remoting/host/curtain_mode_mac.cc
index cae8e704dfa1e202cc1380b841e2e830548603b6..fe4c483d1f0ce94aa6dfcc896a94342d7907143d 100644
--- a/remoting/host/curtain_mode_mac.cc
+++ b/remoting/host/curtain_mode_mac.cc
@@ -144,7 +144,9 @@ void SessionWatcher::ActivateCurtain() {
// this, or how common it is, a crash report is useful in this case (note
// that the connection would have to be refused in any case, so this is no
// loss of functionality).
- CHECK(session != nullptr);
+ CHECK(session != nullptr)
+ << "Error activating curtain-mode: "
+ << "CGSessionCopyCurrentDictionary() returned NULL.";
Jamie 2015/03/24 19:24:47 Can you add a message to the effect that logging o
const void* on_console = CFDictionaryGetValue(session,
kCGSessionOnConsoleKey);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698