| 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 #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 "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "jingle/notifier/base/server_information.h" | 11 #include "jingle/notifier/base/server_information.h" |
| 12 #include "net/url_request/url_request_context_getter.h" | 12 #include "net/url_request/url_request_context_getter.h" |
| 13 #include "webrtc/libjingle/xmpp/xmppclientsettings.h" | 13 #include "third_party/libjingle_xmpp/xmpp/xmppclientsettings.h" |
| 14 | 14 |
| 15 namespace notifier { | 15 namespace notifier { |
| 16 | 16 |
| 17 class LoginSettings { | 17 class LoginSettings { |
| 18 public: | 18 public: |
| 19 LoginSettings(const buzz::XmppClientSettings& user_settings, | 19 LoginSettings(const buzz::XmppClientSettings& user_settings, |
| 20 const scoped_refptr<net::URLRequestContextGetter>& | 20 const scoped_refptr<net::URLRequestContextGetter>& |
| 21 request_context_getter, | 21 request_context_getter, |
| 22 const ServerList& default_servers, | 22 const ServerList& default_servers, |
| 23 bool try_ssltcp_first, | 23 bool try_ssltcp_first, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 // Used to handle redirects | 68 // Used to handle redirects |
| 69 ServerInformation redirect_server_; | 69 ServerInformation redirect_server_; |
| 70 base::Time redirect_expiration_; | 70 base::Time redirect_expiration_; |
| 71 | 71 |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace notifier | 74 } // namespace notifier |
| 75 | 75 |
| 76 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_SETTINGS_H_ | 76 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_SETTINGS_H_ |
| OLD | NEW |