Index: sync/tools/sync_client.cc |
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc |
index fb320a854f97894adee3ef54f7b3e12157c2c6be..df2d02b00af6b160a1501bf7201bae72e9036af6 100644 |
--- a/sync/tools/sync_client.cc |
+++ b/sync/tools/sync_client.cc |
@@ -195,6 +195,7 @@ notifier::NotifierOptions ParseNotifierOptions( |
request_context_getter) { |
notifier::NotifierOptions notifier_options; |
notifier_options.request_context_getter = request_context_getter; |
+ notifier_options.auth_mechanism = "X-OAUTH2"; |
if (command_line.HasSwitch(kXmppHostPortSwitch)) { |
notifier_options.xmpp_host_port = |