OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_SETTINGS_H_ | 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_SETTINGS_H_ |
6 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_SETTINGS_H_ | 6 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_SETTINGS_H_ |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "jingle/notifier/base/server_information.h" | 10 #include "jingle/notifier/base/server_information.h" |
11 #include "jingle/notifier/communicator/xmpp_connection_generator.h" | 11 #include "jingle/notifier/communicator/xmpp_connection_generator.h" |
12 #include "net/url_request/url_request_context_getter.h" | 12 #include "net/url_request/url_request_context_getter.h" |
13 | 13 |
14 namespace buzz { | 14 namespace buzz { |
15 class XmppClientSettings; | 15 class XmppClientSettings; |
16 } | 16 } |
17 | 17 |
18 namespace talk_base { | |
19 class SocketAddress; | |
20 } | |
21 | |
22 namespace notifier { | 18 namespace notifier { |
23 class ConnectionOptions; | 19 class ConnectionOptions; |
24 | 20 |
25 class LoginSettings { | 21 class LoginSettings { |
26 public: | 22 public: |
27 LoginSettings(const buzz::XmppClientSettings& user_settings, | 23 LoginSettings(const buzz::XmppClientSettings& user_settings, |
28 const ConnectionOptions& options, | 24 const ConnectionOptions& options, |
29 const scoped_refptr<net::URLRequestContextGetter>& | 25 const scoped_refptr<net::URLRequestContextGetter>& |
30 request_context_getter, | 26 request_context_getter, |
31 const ServerList& servers, | 27 const ServerList& servers, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 scoped_ptr<ServerInformation> server_override_; | 71 scoped_ptr<ServerInformation> server_override_; |
76 | 72 |
77 scoped_ptr<buzz::XmppClientSettings> user_settings_; | 73 scoped_ptr<buzz::XmppClientSettings> user_settings_; |
78 scoped_ptr<ConnectionOptions> connection_options_; | 74 scoped_ptr<ConnectionOptions> connection_options_; |
79 std::string auth_mechanism_; | 75 std::string auth_mechanism_; |
80 | 76 |
81 DISALLOW_COPY_AND_ASSIGN(LoginSettings); | 77 DISALLOW_COPY_AND_ASSIGN(LoginSettings); |
82 }; | 78 }; |
83 } // namespace notifier | 79 } // namespace notifier |
84 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_SETTINGS_H_ | 80 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_SETTINGS_H_ |
OLD | NEW |