Index: remoting/protocol/negotiating_host_authenticator.h |
diff --git a/remoting/protocol/negotiating_host_authenticator.h b/remoting/protocol/negotiating_host_authenticator.h |
index 10d378013f97020ebc4f6396685c77e9be3ae90f..8471d2d375c6a220958d38c2e88c2c7c14b9adf6 100644 |
--- a/remoting/protocol/negotiating_host_authenticator.h |
+++ b/remoting/protocol/negotiating_host_authenticator.h |
@@ -30,18 +30,10 @@ class NegotiatingHostAuthenticator : public NegotiatingAuthenticatorBase { |
public: |
~NegotiatingHostAuthenticator() override; |
- // Creates a host authenticator for It2Me host. |
- static scoped_ptr<NegotiatingHostAuthenticator> CreateForIt2Me( |
- const std::string& local_id, |
- const std::string& remote_id, |
- const std::string& local_cert, |
- scoped_refptr<RsaKeyPair> key_pair, |
- const std::string& access_code); |
- |
- // Creates a host authenticator, using a fixed PIN. If |pairing_registry| is |
- // non-nullptr then the paired methods will be offered, supporting |
- // PIN-less authentication. |
- static scoped_ptr<NegotiatingHostAuthenticator> CreateWithPin( |
+ // Creates a host authenticator, using a PIN or access code. If |
+ // |pairing_registry| is non-nullptr then the paired methods will be offered, |
+ // supporting PIN-less authentication. |
+ static scoped_ptr<NegotiatingHostAuthenticator> CreateWithSharedSecret( |
const std::string& local_id, |
const std::string& remote_id, |
const std::string& local_cert, |