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

Unified Diff: remoting/host/curtain_mode_win.cc

Issue 11275178: Enforce the RemoteAccessHostRequireCurtain policy on all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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_win.cc
diff --git a/remoting/host/curtain_mode_win.cc b/remoting/host/curtain_mode_win.cc
index f3ebcd2dd95bcb16d18de39cccdb7b62846af4a9..93c1f5c279ddecd367db5d77a9d220e1cab54962 100644
--- a/remoting/host/curtain_mode_win.cc
+++ b/remoting/host/curtain_mode_win.cc
@@ -13,7 +13,10 @@ class CurtainModeWin : public CurtainMode {
CurtainModeWin() {}
// Overriden from CurtainMode.
virtual void SetActivated(bool activated) OVERRIDE {
- NOTIMPLEMENTED();
+ // Curtain-mode is not currently implemented for Windows.
+ if (activated) {
+ on_error_.Run();
+ }
}
private:

Powered by Google App Engine
This is Rietveld 408576698