Index: remoting/protocol/authenticator.h |
diff --git a/remoting/protocol/authenticator.h b/remoting/protocol/authenticator.h |
index 0f382ed0cd8a2e1c731d365b24e55f9cdf0f2c84..4bd962461799324a850ac733d822944fba5e603e 100644 |
--- a/remoting/protocol/authenticator.h |
+++ b/remoting/protocol/authenticator.h |
@@ -53,6 +53,17 @@ class Authenticator { |
REJECTED, |
}; |
+ // Returns true if |message| is an authenticator message. |
Wez
2011/12/03 00:21:05
nit: Authenticator?
Sergey Ulanov
2011/12/06 19:37:07
Done.
|
+ static bool IsAuthenticatorMessage(const buzz::XmlElement* message); |
+ |
+ // Creates an empty authenticator message. Passes ownership of the |
Wez
2011/12/03 00:21:05
nit: Creates an empty authenticator message, owned
Sergey Ulanov
2011/12/06 19:37:07
Done.
|
+ // result to the caller. |
+ static buzz::XmlElement* CreateEmptyAuthenticatorMessage(); |
+ |
+ // Finds authenticator message among child elements of |message|. |
Wez
2011/12/03 00:21:05
And if there isn't one?
Sergey Ulanov
2011/12/06 19:37:07
Done.
|
+ static const buzz::XmlElement* FindAuthenticatorMessage( |
+ const buzz::XmlElement* message); |
+ |
Authenticator() {} |
virtual ~Authenticator() {} |