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

Unified Diff: remoting/host/curtain_mode_mac.cc

Issue 1917973002: mac: Remove IsOSLion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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
Index: remoting/host/curtain_mode_mac.cc
diff --git a/remoting/host/curtain_mode_mac.cc b/remoting/host/curtain_mode_mac.cc
index 9bdb884c3e1744b73834065343b8c4da63c26f2b..88f1f83ca086d5877f95d25ec98aa156979cb70d 100644
--- a/remoting/host/curtain_mode_mac.cc
+++ b/remoting/host/curtain_mode_mac.cc
@@ -115,20 +115,6 @@ SessionWatcher::~SessionWatcher() {
}
void SessionWatcher::ActivateCurtain() {
- // Curtain mode causes problems with the login screen on Lion only (starting
- // with 10.7.3), so disable it on that platform. There is a work-around, but
- // it involves modifying a system Plist pertaining to power-management, so
- // it's not something that should be done automatically. For more details,
- // see https://discussions.apple.com/thread/3209415?start=690&tstart=0
- //
- // TODO(jamiewalch): If the underlying OS bug is ever fixed, we should support
- // curtain mode on suitable versions of Lion.
- if (base::mac::IsOSLion()) {
- LOG(ERROR) << "Host curtaining is not supported on Mac OS X 10.7.";
- DisconnectSession(protocol::ErrorCode::HOST_CONFIGURATION_ERROR);
- return;
- }
-
// Try to install the switch-in handler. Do this before switching out the
// current session so that the console session is not affected if it fails.
if (!InstallEventHandler()) {

Powered by Google App Engine
This is Rietveld 408576698