Chromium Code Reviews| Index: jingle/notifier/base/notifier_options_util.cc |
| =================================================================== |
| --- jingle/notifier/base/notifier_options_util.cc (revision 136430) |
| +++ jingle/notifier/base/notifier_options_util.cc (working copy) |
| @@ -7,6 +7,7 @@ |
| #include "base/logging.h" |
| #include "jingle/notifier/base/const_communicator.h" |
| #include "jingle/notifier/base/notifier_options.h" |
| +#include "talk/xmpp/constants.h" |
| #include "talk/xmpp/jid.h" |
| namespace notifier { |
| @@ -24,7 +25,7 @@ |
| xmpp_client_settings.set_resource("chrome-sync"); |
| xmpp_client_settings.set_host(jid.domain()); |
| xmpp_client_settings.set_use_tls(buzz::TLS_ENABLED); |
| - xmpp_client_settings.set_auth_cookie( |
| + xmpp_client_settings.set_auth_token(buzz::AUTH_MECHANISM_GOOGLE_TOKEN, |
|
akalin
2012/05/11 18:04:05
newline after (, indent four spaces
|
| notifier_options.invalidate_xmpp_login ? |
| token + "bogus" : token); |
| xmpp_client_settings.set_token_service(token_service); |