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

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

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 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 "jingle/notifier/communicator/single_login_attempt.h" 5 #include "jingle/notifier/communicator/single_login_attempt.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <limits> 9 #include <limits>
10 #include <string> 10 #include <string>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
15 #include "jingle/notifier/base/const_communicator.h" 15 #include "jingle/notifier/base/const_communicator.h"
16 #include "jingle/notifier/base/gaia_token_pre_xmpp_auth.h" 16 #include "jingle/notifier/base/gaia_token_pre_xmpp_auth.h"
17 #include "jingle/notifier/listener/xml_element_util.h" 17 #include "jingle/notifier/listener/xml_element_util.h"
18 #include "net/base/host_port_pair.h" 18 #include "net/base/host_port_pair.h"
19 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 19 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
20 #include "webrtc/libjingle/xmpp/constants.h" 20 #include "third_party/libjingle_xmpp/xmpp/constants.h"
21 #include "webrtc/libjingle/xmpp/xmppclientsettings.h" 21 #include "third_party/libjingle_xmpp/xmpp/xmppclientsettings.h"
22 22
23 namespace notifier { 23 namespace notifier {
24 24
25 SingleLoginAttempt::Delegate::~Delegate() {} 25 SingleLoginAttempt::Delegate::~Delegate() {}
26 26
27 SingleLoginAttempt::SingleLoginAttempt(const LoginSettings& login_settings, 27 SingleLoginAttempt::SingleLoginAttempt(const LoginSettings& login_settings,
28 Delegate* delegate) 28 Delegate* delegate)
29 : login_settings_(login_settings), 29 : login_settings_(login_settings),
30 delegate_(delegate), 30 delegate_(delegate),
31 settings_list_( 31 settings_list_(
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 client_settings.token_service(), 175 client_settings.token_service(),
176 login_settings_.auth_mechanism()); 176 login_settings_.auth_mechanism());
177 xmpp_connection_.reset( 177 xmpp_connection_.reset(
178 new XmppConnection(client_settings, 178 new XmppConnection(client_settings,
179 login_settings_.request_context_getter(), 179 login_settings_.request_context_getter(),
180 this, 180 this,
181 pre_xmpp_auth)); 181 pre_xmpp_auth));
182 } 182 }
183 183
184 } // namespace notifier 184 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/communicator/single_login_attempt.h ('k') | jingle/notifier/communicator/single_login_attempt_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698