| 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..a94e569f895f3c01184455c80f1cf4380d05494b 100644
|
| --- a/remoting/host/curtain_mode_mac.cc
|
| +++ b/remoting/host/curtain_mode_mac.cc
|
| @@ -12,7 +12,6 @@
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| -#include "base/mac/mac_util.h"
|
| #include "base/mac/scoped_cftyperef.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ptr_util.h"
|
| @@ -115,20 +114,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()) {
|
|
|