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

Unified Diff: remoting/host/chromoting_host.h

Issue 3303001: Basic user access check for chromoting host. (Closed)
Patch Set: - Created 10 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 | « remoting/host/access_verifier_unittest.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index c45fe082c88ac8273cd2f40e4a69ed07e49212dc..cffa4fc13fca6ee644a6ce87a0c768cabaa64807 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_;
« no previous file with comments | « remoting/host/access_verifier_unittest.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698