Index: remoting/protocol/authenticator.h |
diff --git a/remoting/protocol/authenticator.h b/remoting/protocol/authenticator.h |
index 0f382ed0cd8a2e1c731d365b24e55f9cdf0f2c84..b79fe78a7ca4fefcb86b646775f7ec55fe2908d4 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. |
+ static bool IsAuthenticatorMessage(const buzz::XmlElement* message); |
+ |
+ // Creates an empty Authenticator message, owned by the caller. |
+ static buzz::XmlElement* CreateEmptyAuthenticatorMessage(); |
+ |
+ // Finds Authenticator message among child elements of |message|, or |
+ // returns NULL otherwise. |
+ static const buzz::XmlElement* FindAuthenticatorMessage( |
+ const buzz::XmlElement* message); |
+ |
Authenticator() {} |
virtual ~Authenticator() {} |