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

Unified Diff: remoting/host/chromoting_host.h

Issue 138753005: Add gnubby authentication to remoting host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 3e1fa741ccd7bf466c6e8a816bd3bd62086e4805..82b6e7fa3b45f49b5207ecae598616382cd1de7a 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -109,6 +109,9 @@ class ChromotingHost : public base::NonThreadSafe,
// Takes immediate effect if clients are already connected.
void SetEnableCurtaining(bool enable);
+ // Enables/disables gnubby auth forwarding.
+ void SetEnableGnubbyAuth(bool enable);
+
// Sets the maximum duration of any session. By default, a session has no
// maximum duration.
void SetMaximumSessionDuration(const base::TimeDelta& max_session_duration);
@@ -200,6 +203,9 @@ class ChromotingHost : public base::NonThreadSafe,
// The maximum duration of any session.
base::TimeDelta max_session_duration_;
+ // True if gnubby auth is enabled.
+ bool enable_gnubby_auth_;
+
// The pairing registry for PIN-less authentication.
scoped_refptr<protocol::PairingRegistry> pairing_registry_;

Powered by Google App Engine
This is Rietveld 408576698