Index: chrome/browser/ui/cocoa/profiles/avatar_button_controller.h |
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h |
index 60af074c1c8d4bb3f8299f469756e508878ec3ff..0b8559ce8777dbb1baa99b8d5df9355937ece467 100644 |
--- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h |
+++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h |
@@ -17,10 +17,17 @@ class Browser; |
@interface AvatarButtonController : AvatarBaseController { |
@private |
BOOL isThemedWindow_; |
+ // Whether the signed in profile has an authentication error. Used to |
+ // display an error icon next to the button text. |
+ BOOL hasError_; |
} |
// Designated initializer. |
- (id)initWithBrowser:(Browser*)browser; |
@end |
+@interface AvatarButtonController (ExposedForTesting) |
groby-ooo-7-16
2014/09/29 17:55:43
I wouldn't expose it in the header - just do it in
|
+- (void)updateErrorStatus:(BOOL)hasError; |
+@end |
+ |
#endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BUTTON_CONTROLLER_H_ |