| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // LoginConnectionState is an enum representing the state of the XMPP | 5 // LoginConnectionState is an enum representing the state of the XMPP |
| 6 // connection. | 6 // connection. |
| 7 | 7 |
| 8 #ifndef CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_LOGIN_CONNECTION_STATE_H_ | 8 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_CONNECTION_STATE_H_ |
| 9 #define CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_LOGIN_CONNECTION_STATE_H_ | 9 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_CONNECTION_STATE_H_ |
| 10 | 10 |
| 11 namespace notifier { | 11 namespace notifier { |
| 12 | 12 |
| 13 enum LoginConnectionState { | 13 enum LoginConnectionState { |
| 14 STATE_CLOSED, | 14 STATE_CLOSED, |
| 15 // Same as the closed state but indicates that a countdown is | 15 // Same as the closed state but indicates that a countdown is |
| 16 // happening for auto-retrying the connection. | 16 // happening for auto-retrying the connection. |
| 17 STATE_RETRYING, | 17 STATE_RETRYING, |
| 18 STATE_OPENING, | 18 STATE_OPENING, |
| 19 STATE_OPENED, | 19 STATE_OPENED, |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 } // namespace notifier | 22 } // namespace notifier |
| 23 | 23 |
| 24 #endif // CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_LOGIN_CONNECTION_STATE_H_ | 24 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_CONNECTION_STATE_H_ |
| OLD | NEW |