OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_SIGNIN_SIGNIN_GLOBAL_ERROR_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_ |
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_ | 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include "base/basictypes.h" | |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" |
12 #include "chrome/browser/ui/global_error/global_error.h" | 12 #include "chrome/browser/ui/global_error/global_error.h" |
13 #include "components/keyed_service/core/keyed_service.h" | 13 #include "components/keyed_service/core/keyed_service.h" |
14 #include "components/signin/core/browser/signin_error_controller.h" | 14 #include "components/signin/core/browser/signin_error_controller.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 // Shows auth errors on the wrench menu using a bubble view and a menu item. | 18 // Shows auth errors on the wrench menu using a bubble view and a menu item. |
19 class SigninGlobalError : public GlobalErrorWithStandardBubble, | 19 class SigninGlobalError : public GlobalErrorWithStandardBubble, |
20 public SigninErrorController::Observer, | 20 public SigninErrorController::Observer, |
21 public KeyedService { | 21 public KeyedService { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // The Profile this service belongs to. | 59 // The Profile this service belongs to. |
60 Profile* profile_; | 60 Profile* profile_; |
61 | 61 |
62 // The SigninErrorController that provides auth status. | 62 // The SigninErrorController that provides auth status. |
63 SigninErrorController* error_controller_; | 63 SigninErrorController* error_controller_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(SigninGlobalError); | 65 DISALLOW_COPY_AND_ASSIGN(SigninGlobalError); |
66 }; | 66 }; |
67 | 67 |
68 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_ | 68 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_ |
OLD | NEW |