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

Unified Diff: jingle/notifier/base/gaia_token_pre_xmpp_auth.cc

Issue 10382003: Changes needed to roll libjingle r141 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 months 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
Index: jingle/notifier/base/gaia_token_pre_xmpp_auth.cc
===================================================================
--- jingle/notifier/base/gaia_token_pre_xmpp_auth.cc (revision 136430)
+++ jingle/notifier/base/gaia_token_pre_xmpp_auth.cc (working copy)
@@ -69,7 +69,8 @@
const buzz::Jid& jid,
const talk_base::SocketAddress& server,
const talk_base::CryptString& pass,
- const std::string& auth_cookie) {
+ const std::string& auth_mechanism,
+ const std::string& auth_token) {
SignalAuthDone();
}
@@ -93,10 +94,14 @@
return buzz::CaptchaChallenge();
}
-std::string GaiaTokenPreXmppAuth::GetAuthCookie() const {
- return std::string();
+std::string GaiaTokenPreXmppAuth::GetAuthToken() const {
+ return token_;
}
+std::string GaiaTokenPreXmppAuth::GetAuthMechanism() const {
+ return auth_mechanism_;
+}
+
std::string GaiaTokenPreXmppAuth::ChooseBestSaslMechanism(
const std::vector<std::string> & mechanisms, bool encrypted) {
return (std::find(mechanisms.begin(),

Powered by Google App Engine
This is Rietveld 408576698