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

Side by Side Diff: chrome/common/net/notifier/communicator/single_login_attempt.cc

Issue 1956001: Moved XMPP notifier library from chrome/browser/sync to chrome/common.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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) 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/browser/sync/notifier/communicator/single_login_attempt.h" 9 #include "chrome/common/net/notifier/communicator/single_login_attempt.h"
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "chrome/browser/sync/notifier/communicator/connection_options.h" 12 #include "chrome/common/net/notifier/communicator/connection_options.h"
13 #include "chrome/browser/sync/notifier/communicator/connection_settings.h" 13 #include "chrome/common/net/notifier/communicator/connection_settings.h"
14 #include "chrome/browser/sync/notifier/communicator/const_communicator.h" 14 #include "chrome/common/net/notifier/communicator/const_communicator.h"
15 #include "chrome/browser/sync/notifier/communicator/login_failure.h" 15 #include "chrome/common/net/notifier/communicator/login_failure.h"
16 #include "chrome/browser/sync/notifier/communicator/login_settings.h" 16 #include "chrome/common/net/notifier/communicator/login_settings.h"
17 #include "chrome/browser/sync/notifier/communicator/product_info.h" 17 #include "chrome/common/net/notifier/communicator/product_info.h"
18 #include "chrome/browser/sync/notifier/communicator/xmpp_connection_generator.h" 18 #include "chrome/common/net/notifier/communicator/xmpp_connection_generator.h"
19 #include "chrome/browser/sync/notifier/communicator/xmpp_socket_adapter.h" 19 #include "chrome/common/net/notifier/communicator/xmpp_socket_adapter.h"
20 #include "talk/base/asynchttprequest.h" 20 #include "talk/base/asynchttprequest.h"
21 #include "talk/base/firewallsocketserver.h" 21 #include "talk/base/firewallsocketserver.h"
22 #include "talk/base/signalthread.h" 22 #include "talk/base/signalthread.h"
23 #include "talk/base/taskrunner.h" 23 #include "talk/base/taskrunner.h"
24 #include "talk/base/winsock_initializer.h" 24 #include "talk/base/winsock_initializer.h"
25 #include "talk/xmllite/xmlelement.h" 25 #include "talk/xmllite/xmlelement.h"
26 #include "talk/xmpp/saslcookiemechanism.h" 26 #include "talk/xmpp/saslcookiemechanism.h"
27 #include "talk/xmpp/saslhandler.h" 27 #include "talk/xmpp/saslhandler.h"
28 #include "talk/xmpp/xmppclient.h" 28 #include "talk/xmpp/xmppclient.h"
29 #include "talk/xmpp/xmppclientsettings.h" 29 #include "talk/xmpp/xmppclientsettings.h"
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 ASSERT(connection_generator_.get() != NULL); 561 ASSERT(connection_generator_.get() != NULL);
562 if (!connection_generator_.get()) { 562 if (!connection_generator_.get()) {
563 return; 563 return;
564 } 564 }
565 565
566 // Iterate to the next possible connection (still trying to connect). 566 // Iterate to the next possible connection (still trying to connect).
567 UseNextConnection(); 567 UseNextConnection();
568 } 568 }
569 569
570 } // namespace notifier 570 } // namespace notifier
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698