OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_ERROR_CONTROLLER_H_ | 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_ERROR_CONTROLLER_H_ |
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_ERROR_CONTROLLER_H_ | 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_ERROR_CONTROLLER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 private: | 65 private: |
66 std::set<const AuthStatusProvider*> provider_set_; | 66 std::set<const AuthStatusProvider*> provider_set_; |
67 | 67 |
68 // The account that generated the last auth error. | 68 // The account that generated the last auth error. |
69 std::string error_account_id_; | 69 std::string error_account_id_; |
70 | 70 |
71 // The auth error detected the last time AuthStatusChanged() was invoked (or | 71 // The auth error detected the last time AuthStatusChanged() was invoked (or |
72 // NONE if AuthStatusChanged() has never been invoked). | 72 // NONE if AuthStatusChanged() has never been invoked). |
73 GoogleServiceAuthError auth_error_; | 73 GoogleServiceAuthError auth_error_; |
74 | 74 |
75 ObserverList<Observer, false> observer_list_; | 75 base::ObserverList<Observer, false> observer_list_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(SigninErrorController); | 77 DISALLOW_COPY_AND_ASSIGN(SigninErrorController); |
78 }; | 78 }; |
79 | 79 |
80 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_ERROR_CONTROLLER_H_ | 80 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_ERROR_CONTROLLER_H_ |
OLD | NEW |