| OLD | NEW |
| 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/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" | 17 #include "talk/xmllite/xmlelement.h" |
| 18 #include "talk/xmpp/constants.h" | 18 #include "talk/xmpp/constants.h" |
| 19 #include "talk/xmpp/xmppclientsettings.h" | 19 #include "talk/xmpp/xmppclientsettings.h" |
| 20 | 20 |
| 21 namespace notifier { | 21 namespace notifier { |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |