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

Side by Side Diff: jingle/notifier/communicator/login.h

Issue 6649006: Added support for other authentication mechanisms in jingle. This will allow ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Review comments addressed Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_
6 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ 6 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 // Does not take ownership of |delegate|, |host_resolver|, |cert_verifier|, 58 // Does not take ownership of |delegate|, |host_resolver|, |cert_verifier|,
59 // or |server_list|, none of which may be NULL. 59 // or |server_list|, none of which may be NULL.
60 Login(Delegate* delegate, 60 Login(Delegate* delegate,
61 const buzz::XmppClientSettings& user_settings, 61 const buzz::XmppClientSettings& user_settings,
62 const ConnectionOptions& options, 62 const ConnectionOptions& options,
63 net::HostResolver* host_resolver, 63 net::HostResolver* host_resolver,
64 net::CertVerifier* cert_verifier, 64 net::CertVerifier* cert_verifier,
65 ServerInformation* server_list, 65 ServerInformation* server_list,
66 int server_count, 66 int server_count,
67 bool try_ssltcp_first); 67 bool try_ssltcp_first,
68 const std::string& auth_mechanism);
68 virtual ~Login(); 69 virtual ~Login();
69 70
70 void StartConnection(); 71 void StartConnection();
71 72
72 // net::NetworkChangeNotifier::IPAddressObserver implementation. 73 // net::NetworkChangeNotifier::IPAddressObserver implementation.
73 virtual void OnIPAddressChanged(); 74 virtual void OnIPAddressChanged();
74 75
75 // SingleLoginAttempt::Delegate implementation. 76 // SingleLoginAttempt::Delegate implementation.
76 virtual void OnConnect(base::WeakPtr<talk_base::Task> base_task); 77 virtual void OnConnect(base::WeakPtr<talk_base::Task> base_task);
77 virtual void OnNeedReconnect(); 78 virtual void OnNeedReconnect();
(...skipping 27 matching lines...) Expand all
105 base::Time redirect_time_; 106 base::Time redirect_time_;
106 std::string redirect_server_; 107 std::string redirect_server_;
107 int redirect_port_; 108 int redirect_port_;
108 109
109 DISALLOW_COPY_AND_ASSIGN(Login); 110 DISALLOW_COPY_AND_ASSIGN(Login);
110 }; 111 };
111 112
112 } // namespace notifier 113 } // namespace notifier
113 114
114 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ 115 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_
OLDNEW
« no previous file with comments | « jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc ('k') | jingle/notifier/communicator/login.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698