| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ | 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ |
| 6 #define CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ | 6 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ |
| 7 | 7 |
| 8 #include "talk/xmpp/xmppengine.h" | 8 #include "talk/xmpp/xmppengine.h" |
| 9 | 9 |
| 10 namespace notifier { | 10 namespace notifier { |
| 11 | 11 |
| 12 class LoginFailure { | 12 class LoginFailure { |
| 13 public: | 13 public: |
| 14 enum LoginError { | 14 enum LoginError { |
| 15 // Check the xmpp_error for more information. | 15 // Check the xmpp_error for more information. |
| 16 XMPP_ERROR, | 16 XMPP_ERROR, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 buzz::XmppEngine::Error xmpp_error() const; | 40 buzz::XmppEngine::Error xmpp_error() const; |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 const LoginError error_; | 43 const LoginError error_; |
| 44 const buzz::XmppEngine::Error xmpp_error_; | 44 const buzz::XmppEngine::Error xmpp_error_; |
| 45 const int subcode_; | 45 const int subcode_; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace notifier | 48 } // namespace notifier |
| 49 | 49 |
| 50 #endif // CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ | 50 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ |
| OLD | NEW |