| 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_BROWSER_SYNC_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ | 5 #ifndef CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ |
| 6 #define CHROME_BROWSER_SYNC_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ | 6 #define CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ |
| 7 | 7 |
| 8 #include "talk/base/common.h" | 8 #include "talk/base/common.h" |
| 9 #include "talk/xmpp/xmppengine.h" | 9 #include "talk/xmpp/xmppengine.h" |
| 10 | 10 |
| 11 namespace notifier { | 11 namespace notifier { |
| 12 | 12 |
| 13 class LoginFailure { | 13 class LoginFailure { |
| 14 public: | 14 public: |
| 15 enum LoginError { | 15 enum LoginError { |
| 16 // Check the xmpp_error for more information. | 16 // Check the xmpp_error for more information. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 43 private: | 43 private: |
| 44 LoginError error_; | 44 LoginError error_; |
| 45 buzz::XmppEngine::Error xmpp_error_; | 45 buzz::XmppEngine::Error xmpp_error_; |
| 46 int subcode_; | 46 int subcode_; |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(LoginFailure); | 48 DISALLOW_COPY_AND_ASSIGN(LoginFailure); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace notifier | 51 } // namespace notifier |
| 52 | 52 |
| 53 #endif // CHROME_BROWSER_SYNC_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ | 53 #endif // CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_LOGIN_FAILURE_H_ |
| OLD | NEW |