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

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, 1 month 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') | remoting/protocol/content_description.cc » ('J')
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..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() {}
« no previous file with comments | « no previous file | remoting/protocol/authenticator.cc » ('j') | remoting/protocol/content_description.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698