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 "jingle/notifier/communicator/connection_settings.h" | 5 #include "jingle/notifier/communicator/connection_settings.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
| 9 #include "webrtc/libjingle/xmpp/xmppclientsettings.h" |
9 // Ideally we shouldn't include anything from talk/p2p, but we need | 10 // Ideally we shouldn't include anything from talk/p2p, but we need |
10 // the definition of ProtocolType. Don't use any functions from | 11 // the definition of ProtocolType. Don't use any functions from |
11 // port.h, since it won't link. | 12 // port.h, since it won't link. |
12 #include "talk/p2p/base/port.h" | 13 #include "webrtc/p2p/base/port.h" |
13 | |
14 #include "talk/xmpp/xmppclientsettings.h" | |
15 | 14 |
16 namespace notifier { | 15 namespace notifier { |
17 | 16 |
18 const uint16 kSslTcpPort = 443; | 17 const uint16 kSslTcpPort = 443; |
19 | 18 |
20 ConnectionSettings::ConnectionSettings( | 19 ConnectionSettings::ConnectionSettings( |
21 const rtc::SocketAddress& server, | 20 const rtc::SocketAddress& server, |
22 SslTcpMode ssltcp_mode, | 21 SslTcpMode ssltcp_mode, |
23 SslTcpSupport ssltcp_support) | 22 SslTcpSupport ssltcp_support) |
24 : server(server), | 23 : server(server), |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 } | 92 } |
94 } else { | 93 } else { |
95 settings_list.push_back(settings); | 94 settings_list.push_back(settings); |
96 } | 95 } |
97 } | 96 } |
98 | 97 |
99 return settings_list; | 98 return settings_list; |
100 } | 99 } |
101 | 100 |
102 } // namespace notifier | 101 } // namespace notifier |
OLD | NEW |