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

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

Issue 10398051: [Sync] Replace TalkMediator*/MediatorThread* with PushClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, fix test 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
« no previous file with comments | « jingle/notifier/base/notifier_options_util.h ('k') | jingle/notifier/listener/mediator_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/notifier/base/notifier_options_util.cc
diff --git a/jingle/notifier/base/notifier_options_util.cc b/jingle/notifier/base/notifier_options_util.cc
index 9e107bcf0eaf15611eb453bd607662e6733fe682..67620a055f1638df344264cb3ac7de8d2682ce3c 100644
--- a/jingle/notifier/base/notifier_options_util.cc
+++ b/jingle/notifier/base/notifier_options_util.cc
@@ -13,8 +13,7 @@ namespace notifier {
buzz::XmppClientSettings MakeXmppClientSettings(
const NotifierOptions& notifier_options,
- const std::string& email, const std::string& token,
- const std::string& token_service) {
+ const std::string& email, const std::string& token) {
buzz::Jid jid = buzz::Jid(email);
DCHECK(!jid.node().empty());
DCHECK(jid.IsValid());
@@ -27,7 +26,7 @@ buzz::XmppClientSettings MakeXmppClientSettings(
xmpp_client_settings.set_auth_cookie(
notifier_options.invalidate_xmpp_login ?
token + "bogus" : token);
- xmpp_client_settings.set_token_service(token_service);
+ xmpp_client_settings.set_token_service("chromiumsync");
if (notifier_options.allow_insecure_connection) {
xmpp_client_settings.set_allow_plain(true);
xmpp_client_settings.set_use_tls(buzz::TLS_DISABLED);
« no previous file with comments | « jingle/notifier/base/notifier_options_util.h ('k') | jingle/notifier/listener/mediator_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698