| 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_H_ | 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ |
| 6 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ | 6 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // The actual function (called by |reconnect_timer_|) that does the | 114 // The actual function (called by |reconnect_timer_|) that does the |
| 115 // reconnection. | 115 // reconnection. |
| 116 void DoReconnect(); | 116 void DoReconnect(); |
| 117 | 117 |
| 118 Delegate* const delegate_; | 118 Delegate* const delegate_; |
| 119 LoginSettings login_settings_; | 119 LoginSettings login_settings_; |
| 120 scoped_ptr<SingleLoginAttempt> single_attempt_; | 120 scoped_ptr<SingleLoginAttempt> single_attempt_; |
| 121 | 121 |
| 122 // reconnection state. | 122 // reconnection state. |
| 123 base::TimeDelta reconnect_interval_; | 123 base::TimeDelta reconnect_interval_; |
| 124 base::OneShotTimer<Login> reconnect_timer_; | 124 base::OneShotTimer reconnect_timer_; |
| 125 | 125 |
| 126 DISALLOW_COPY_AND_ASSIGN(Login); | 126 DISALLOW_COPY_AND_ASSIGN(Login); |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace notifier | 129 } // namespace notifier |
| 130 | 130 |
| 131 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ | 131 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ |
| OLD | NEW |