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

Unified Diff: remoting/protocol/authenticator.h

Issue 8774031: Multi-step authentication support in JingleSession. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years 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 | « no previous file | remoting/protocol/authenticator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « no previous file | remoting/protocol/authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698