Index: remoting/host/security_key/gnubby_auth_handler.h |
diff --git a/remoting/host/security_key/gnubby_auth_handler.h b/remoting/host/security_key/gnubby_auth_handler.h |
index 1c2f5642e03a5ac6376d784ed041b1a1c1ff557c..4c7ed256ab74da5b78cb341f03aecaa4ca46a7ce 100644 |
--- a/remoting/host/security_key/gnubby_auth_handler.h |
+++ b/remoting/host/security_key/gnubby_auth_handler.h |
@@ -12,6 +12,7 @@ |
namespace base { |
class FilePath; |
+class TimeDelta; |
} // namespace base |
namespace remoting { |
@@ -53,6 +54,12 @@ class GnubbyAuthHandler { |
// Closes the gnubby connection represented by |gnubby_connection_id|. |
virtual void SendErrorAndCloseConnection(int gnubby_connection_id) = 0; |
+ |
+ // Returns the number of active gnubby connections. |
+ virtual size_t GetActiveConnectionCountForTest() const = 0; |
+ |
+ // Sets the timeout used when waiting for a gnubby response. |
+ virtual void SetRequestTimeoutForTest(const base::TimeDelta& timeout) = 0; |
}; |
} // namespace remoting |