| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "chrome/common/net/notifier/communicator/single_login_attempt.h" | 9 #include "jingle/notifier/communicator/single_login_attempt.h" |
| 10 | 10 |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "chrome/common/net/notifier/communicator/connection_options.h" | 12 #include "jingle/notifier/communicator/connection_options.h" |
| 13 #include "chrome/common/net/notifier/communicator/connection_settings.h" | 13 #include "jingle/notifier/communicator/connection_settings.h" |
| 14 #include "chrome/common/net/notifier/communicator/const_communicator.h" | 14 #include "jingle/notifier/communicator/const_communicator.h" |
| 15 #include "chrome/common/net/notifier/communicator/gaia_token_pre_xmpp_auth.h" | 15 #include "jingle/notifier/communicator/gaia_token_pre_xmpp_auth.h" |
| 16 #include "chrome/common/net/notifier/communicator/login_failure.h" | 16 #include "jingle/notifier/communicator/login_failure.h" |
| 17 #include "chrome/common/net/notifier/communicator/login_settings.h" | 17 #include "jingle/notifier/communicator/login_settings.h" |
| 18 #include "chrome/common/net/notifier/communicator/product_info.h" | 18 #include "jingle/notifier/communicator/product_info.h" |
| 19 #include "chrome/common/net/notifier/communicator/xmpp_connection_generator.h" | 19 #include "jingle/notifier/communicator/xmpp_connection_generator.h" |
| 20 #include "chrome/common/net/notifier/communicator/xmpp_socket_adapter.h" | 20 #include "jingle/notifier/communicator/xmpp_socket_adapter.h" |
| 21 #include "talk/base/asynchttprequest.h" | 21 #include "talk/base/asynchttprequest.h" |
| 22 #include "talk/base/firewallsocketserver.h" | 22 #include "talk/base/firewallsocketserver.h" |
| 23 #include "talk/base/signalthread.h" | 23 #include "talk/base/signalthread.h" |
| 24 #include "talk/base/taskrunner.h" | 24 #include "talk/base/taskrunner.h" |
| 25 #include "talk/base/win32socketinit.h" | 25 #include "talk/base/win32socketinit.h" |
| 26 #include "talk/xmllite/xmlelement.h" | 26 #include "talk/xmllite/xmlelement.h" |
| 27 #include "talk/xmpp/xmppclient.h" | 27 #include "talk/xmpp/xmppclient.h" |
| 28 #include "talk/xmpp/xmppclientsettings.h" | 28 #include "talk/xmpp/xmppclientsettings.h" |
| 29 #include "talk/xmpp/constants.h" | 29 #include "talk/xmpp/constants.h" |
| 30 | 30 |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 DCHECK(connection_generator_.get()); | 508 DCHECK(connection_generator_.get()); |
| 509 if (!connection_generator_.get()) { | 509 if (!connection_generator_.get()) { |
| 510 return; | 510 return; |
| 511 } | 511 } |
| 512 | 512 |
| 513 // Iterate to the next possible connection (still trying to connect). | 513 // Iterate to the next possible connection (still trying to connect). |
| 514 UseNextConnection(); | 514 UseNextConnection(); |
| 515 } | 515 } |
| 516 | 516 |
| 517 } // namespace notifier | 517 } // namespace notifier |
| OLD | NEW |