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

Unified Diff: remoting/host/curtain_mode_linux.cc

Issue 12395018: Write an error message to the debug log when the host is shutting down because of a policy setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | remoting/host/curtain_mode_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/curtain_mode_linux.cc
diff --git a/remoting/host/curtain_mode_linux.cc b/remoting/host/curtain_mode_linux.cc
index 61a3d9780450829ade043b3a8365512bdb7570c1..34b4db0ff174437b6dbc6d7f8c4b1d9fd3d2f9d8 100644
--- a/remoting/host/curtain_mode_linux.cc
+++ b/remoting/host/curtain_mode_linux.cc
@@ -95,6 +95,8 @@ void CurtainModeLinux::SetActivated(bool activated) {
// Either the session is running on Xvfb (i.e. always curtained), or it is
// attached to the physical console (i.e. impossible to curtain).
if (activated && !IsXvfbSession()) {
+ LOG(ERROR) << "Curtain-mode is not supported when running on non-Xvfb "
+ "X server";
on_error_.Run();
}
}
« no previous file with comments | « no previous file | remoting/host/curtain_mode_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698