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

Side by Side Diff: jingle/notifier/communicator/single_login_attempt.cc

Issue 543433002: Roll WebRTC 7011:7046 libjingle: 7007:7045 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update README.chromium Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include <string> 5 #include <string>
6 6
7 #include "jingle/notifier/communicator/single_login_attempt.h" 7 #include "jingle/notifier/communicator/single_login_attempt.h"
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_split.h" 12 #include "base/strings/string_split.h"
13 #include "jingle/notifier/base/const_communicator.h" 13 #include "jingle/notifier/base/const_communicator.h"
14 #include "jingle/notifier/base/gaia_token_pre_xmpp_auth.h" 14 #include "jingle/notifier/base/gaia_token_pre_xmpp_auth.h"
15 #include "jingle/notifier/listener/xml_element_util.h" 15 #include "jingle/notifier/listener/xml_element_util.h"
16 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
17 #include "talk/xmllite/xmlelement.h"
18 #include "talk/xmpp/constants.h" 17 #include "talk/xmpp/constants.h"
19 #include "talk/xmpp/xmppclientsettings.h" 18 #include "talk/xmpp/xmppclientsettings.h"
19 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
20 20
21 namespace notifier { 21 namespace notifier {
22 22
23 SingleLoginAttempt::Delegate::~Delegate() {} 23 SingleLoginAttempt::Delegate::~Delegate() {}
24 24
25 SingleLoginAttempt::SingleLoginAttempt(const LoginSettings& login_settings, 25 SingleLoginAttempt::SingleLoginAttempt(const LoginSettings& login_settings,
26 Delegate* delegate) 26 Delegate* delegate)
27 : login_settings_(login_settings), 27 : login_settings_(login_settings),
28 delegate_(delegate), 28 delegate_(delegate),
29 settings_list_( 29 settings_list_(
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 client_settings.token_service(), 173 client_settings.token_service(),
174 login_settings_.auth_mechanism()); 174 login_settings_.auth_mechanism());
175 xmpp_connection_.reset( 175 xmpp_connection_.reset(
176 new XmppConnection(client_settings, 176 new XmppConnection(client_settings,
177 login_settings_.request_context_getter(), 177 login_settings_.request_context_getter(),
178 this, 178 this,
179 pre_xmpp_auth)); 179 pre_xmpp_auth));
180 } 180 }
181 181
182 } // namespace notifier 182 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/communicator/login.cc ('k') | jingle/notifier/communicator/single_login_attempt_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698