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

Unified Diff: remoting/host/client_session.h

Issue 10860033: Allow input & clipboard filters to be disabled without NULLing target stub. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | remoting/host/client_session.cc » ('j') | remoting/host/client_session.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index 39b2273d1ffa84e5629b4f18a725f3183f783890..bad5273f6945d99bc1d73fc2f829624f01a21363 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -114,7 +114,7 @@ class ClientSession : public protocol::ClipboardStub,
const std::string& client_jid() { return client_jid_; }
- bool is_authenticated() { return is_authenticated_; }
+ bool is_authenticated() { return auth_input_filter_.enabled(); }
// Indicate that local mouse activity has been detected. This causes remote
// inputs to be ignored for a short time so that the local user will always
@@ -135,7 +135,6 @@ class ClientSession : public protocol::ClipboardStub,
scoped_ptr<protocol::ConnectionToClient> connection_;
std::string client_jid_;
- bool is_authenticated_;
// The host clipboard and input stubs to which this object delegates.
// These are the final elements in the clipboard & input pipelines, which
« no previous file with comments | « no previous file | remoting/host/client_session.cc » ('j') | remoting/host/client_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698