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

Unified Diff: remoting/host/security_key/gnubby_auth_handler.h

Issue 1720243002: Removing Linux specific GnubbyAuthHandler header file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a build break Created 4 years, 10 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/host_mock_objects.h ('k') | remoting/host/security_key/gnubby_auth_handler_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/security_key/gnubby_auth_handler_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698