summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 02:05:06 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 02:05:06 +0000
commit76451fe7fbce667742dff671cad06cbd039f8296 (patch)
tree0b2196989e5bb6643a026eb71964cbfaa2b66feb /remoting/host/chromoting_host.h
parente8478ae4ef8bd1dbb83cd46e8af060d5331ba2df (diff)
downloadchromium_src-76451fe7fbce667742dff671cad06cbd039f8296.zip
chromium_src-76451fe7fbce667742dff671cad06cbd039f8296.tar.gz
chromium_src-76451fe7fbce667742dff671cad06cbd039f8296.tar.bz2
Basic user access check for chromoting host.
BUG=53984 TEST=unittests Review URL: http://codereview.chromium.org/3303001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58301 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host.h')
-rw-r--r--remoting/host/chromoting_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index c45fe08..cffa4fc 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -9,6 +9,7 @@
#include "base/thread.h"
#include "remoting/base/encoder.h"
+#include "remoting/host/access_verifier.h"
#include "remoting/host/capturer.h"
#include "remoting/host/client_connection.h"
#include "remoting/host/event_executor.h"
@@ -133,6 +134,8 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
// Objects that takes care of sending heartbeats to the chromoting bot.
scoped_refptr<HeartbeatSender> heartbeat_sender_;
+ AccessVerifier access_verifier_;
+
// A ClientConnection manages the connectino to a remote client.
// TODO(hclam): Expand this to a list of clients.
scoped_refptr<ClientConnection> client_;