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

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: tapted 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
« no previous file with comments | « media/base/mac/avfoundation_glue.mm ('k') | sandbox/mac/os_compatibility.cc » ('j') | 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 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()) {
« no previous file with comments | « media/base/mac/avfoundation_glue.mm ('k') | sandbox/mac/os_compatibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698