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

Unified Diff: remoting/jingle_glue/xmpp_signal_strategy.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: remoting/jingle_glue/xmpp_signal_strategy.cc
===================================================================
--- remoting/jingle_glue/xmpp_signal_strategy.cc (revision 135898)
+++ remoting/jingle_glue/xmpp_signal_strategy.cc (working copy)
@@ -55,7 +55,7 @@
settings.set_resource(resource_name_);
settings.set_use_tls(buzz::TLS_ENABLED);
settings.set_token_service(auth_token_service_);
- settings.set_auth_cookie(auth_token_);
+ settings.set_auth_token(buzz::AUTH_MECHANISM_GOOGLE_TOKEN, auth_token_);
settings.set_server(talk_base::SocketAddress("talk.google.com", 5222));
buzz::AsyncSocket* socket = new XmppSocketAdapter(settings, false);
@@ -197,7 +197,7 @@
}
return new notifier::GaiaTokenPreXmppAuth(
- jid.Str(), settings.auth_cookie(), settings.token_service(), mechanism);
+ jid.Str(), settings.auth_token(), settings.token_service(), mechanism);
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698