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 <string> | 5 #include <string> |
6 | 6 |
7 #include "chrome/browser/sync/notifier/communicator/login_settings.h" | 7 #include "chrome/common/net/notifier/communicator/login_settings.h" |
8 | 8 |
9 #include "chrome/browser/sync/notifier/communicator/connection_options.h" | 9 #include "chrome/common/net/notifier/communicator/connection_options.h" |
10 #include "chrome/browser/sync/notifier/communicator/xmpp_connection_generator.h" | 10 #include "chrome/common/net/notifier/communicator/xmpp_connection_generator.h" |
11 #include "talk/base/common.h" | 11 #include "talk/base/common.h" |
12 #include "talk/base/socketaddress.h" | 12 #include "talk/base/socketaddress.h" |
13 #include "talk/xmpp/xmppclientsettings.h" | 13 #include "talk/xmpp/xmppclientsettings.h" |
14 | 14 |
15 namespace notifier { | 15 namespace notifier { |
16 | 16 |
17 LoginSettings::LoginSettings(const buzz::XmppClientSettings& user_settings, | 17 LoginSettings::LoginSettings(const buzz::XmppClientSettings& user_settings, |
18 const ConnectionOptions& options, | 18 const ConnectionOptions& options, |
19 std::string lang, | 19 std::string lang, |
20 ServerInformation* server_list, | 20 ServerInformation* server_list, |
(...skipping 25 matching lines...) Expand all Loading... |
46 server_override_.reset(new ServerInformation()); | 46 server_override_.reset(new ServerInformation()); |
47 server_override_->server = server; | 47 server_override_->server = server; |
48 server_override_->special_port_magic = server_list_[0].special_port_magic; | 48 server_override_->special_port_magic = server_list_[0].special_port_magic; |
49 } | 49 } |
50 | 50 |
51 void LoginSettings::clear_server_override() { | 51 void LoginSettings::clear_server_override() { |
52 server_override_.reset(); | 52 server_override_.reset(); |
53 } | 53 } |
54 | 54 |
55 } // namespace notifier | 55 } // namespace notifier |
OLD | NEW |