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

Unified Diff: remoting/host/curtain_mode.h

Issue 11275178: Enforce the RemoteAccessHostRequireCurtain policy on all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing member to CurtainModeWin. 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
« 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.h
diff --git a/remoting/host/curtain_mode.h b/remoting/host/curtain_mode.h
index aeb9b140189d71742466d01ab6883b61fb30d08a..002fc11f68864177d49407f86189a9f8b279e9bc 100644
--- a/remoting/host/curtain_mode.h
+++ b/remoting/host/curtain_mode.h
@@ -29,12 +29,6 @@ class CurtainMode {
const base::Closure& on_session_activate,
const base::Closure& on_error);
- // Sets/gets whether the curtain mode is required by policy.
- // TODO(rmsousa): Remove this piece of implementation from the interface once
- // we have a good way to do so.
- void set_required(bool required) { required_ = required; }
- bool required() { return required_; }
-
// Activate or deactivate curtain mode.
// If activated is true (meaning a remote client has just logged in), the
// implementation must immediately activate the curtain, or call on_error if
@@ -47,11 +41,9 @@ class CurtainMode {
virtual void SetActivated(bool activated) = 0;
protected:
- CurtainMode() : required_(false) {}
+ CurtainMode() {}
private:
- bool required_;
-
DISALLOW_COPY_AND_ASSIGN(CurtainMode);
};
« 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