From 0b3a4c08db4956ce3bdd57f09fe7878a03a170d4 Mon Sep 17 00:00:00 2001 From: "sanjeevr@chromium.org" Date: Wed, 9 Mar 2011 05:33:17 +0000 Subject: Added support for other authentication mechanisms in jingle. This will allow us to use OAuth2 tokens when OAuth2 support is ready in Talk. BUG=None TEST=Test cloud print and sync for regressions. Review URL: http://codereview.chromium.org/6649006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77434 0039d316-1c4b-4281-b951-d872f2087c98 --- jingle/notifier/communicator/login.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'jingle/notifier/communicator/login.cc') diff --git a/jingle/notifier/communicator/login.cc b/jingle/notifier/communicator/login.cc index b19169c..6b1119b 100644 --- a/jingle/notifier/communicator/login.cc +++ b/jingle/notifier/communicator/login.cc @@ -37,7 +37,8 @@ Login::Login(Delegate* delegate, net::CertVerifier* cert_verifier, ServerInformation* server_list, int server_count, - bool try_ssltcp_first) + bool try_ssltcp_first, + const std::string& auth_mechanism) : delegate_(delegate), login_settings_(new LoginSettings(user_settings, options, @@ -45,7 +46,8 @@ Login::Login(Delegate* delegate, cert_verifier, server_list, server_count, - try_ssltcp_first)), + try_ssltcp_first, + auth_mechanism)), redirect_port_(0) { net::NetworkChangeNotifier::AddIPAddressObserver(this); ResetReconnectState(); -- cgit v1.1