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

Unified Diff: remoting/protocol/it2me_host_authenticator_factory.h

Issue 2724223003: Disconnect all users if too many connection requests are received for It2Me (Closed)
Patch Set: Fixing another non-Windows build error Created 3 years, 9 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/protocol/it2me_host_authenticator_factory.h
diff --git a/remoting/protocol/it2me_host_authenticator_factory.h b/remoting/protocol/it2me_host_authenticator_factory.h
index 1be56835df9718633451ded4a0178a31c7ab6e6b..40c551cdaca0988ba6731ac9ceff9d69b97bd9b3 100644
--- a/remoting/protocol/it2me_host_authenticator_factory.h
+++ b/remoting/protocol/it2me_host_authenticator_factory.h
@@ -28,7 +28,8 @@ class It2MeHostAuthenticatorFactory : public AuthenticatorFactory {
const std::string& local_cert,
scoped_refptr<RsaKeyPair> key_pair,
const std::string& access_code,
- const ValidatingAuthenticator::ValidationCallback& callback);
+ const ValidatingAuthenticator::ValidationCallback& incoming_callback,
+ const ValidatingAuthenticator::ValidationCallback& accepted_callback);
~It2MeHostAuthenticatorFactory() override;
// AuthenticatorFactory interface.
@@ -40,7 +41,8 @@ class It2MeHostAuthenticatorFactory : public AuthenticatorFactory {
std::string local_cert_;
scoped_refptr<RsaKeyPair> key_pair_;
std::string access_code_hash_;
- ValidatingAuthenticator::ValidationCallback validation_callback_;
+ ValidatingAuthenticator::ValidationCallback incoming_callback_;
+ ValidatingAuthenticator::ValidationCallback accepted_callback_;
DISALLOW_COPY_AND_ASSIGN(It2MeHostAuthenticatorFactory);
};

Powered by Google App Engine
This is Rietveld 408576698