Chromium Code Reviews| Index: chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h |
| diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h |
| index f92128035a5321bd55cf7f85a683d91a51124650..a720824c5b08cc6ed9860b2cd44bc1af3f2c6fca 100644 |
| --- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h |
| +++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h |
| @@ -10,6 +10,7 @@ |
| #include <string> |
| #include "base/memory/scoped_ptr.h" |
| +#include "chrome/browser/signin/signin_header_helper.h" |
| #include "chrome/browser/ui/profile_chooser_constants.h" |
| #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
| @@ -57,11 +58,15 @@ class WebContents; |
| // Whether the bubble is displayed for an active guest profile. |
| BOOL isGuestSession_; |
| + |
| + // The GAIA service type that caused this menu to open. |
| + signin::GAIAServiceType GAIAServiceType_; |
|
Scott Hess - ex-Googler
2014/05/30 04:09:27
Hmm, and also I think it would be gaiaServiceType_
Mike Lerman
2014/05/30 17:46:25
Done.
|
| } |
| - (id)initWithBrowser:(Browser*)browser |
| anchoredAt:(NSPoint)point |
| - withMode:(profiles::BubbleViewMode)mode; |
| + withMode:(profiles::BubbleViewMode)mode |
| + withServiceType:(signin::GAIAServiceType)GAIAServiceType; |
| // Creates all the subviews of the avatar bubble for |viewToDisplay|. |
| - (void)initMenuContentsWithView:(profiles::BubbleViewMode)viewToDisplay; |
| @@ -112,7 +117,8 @@ class WebContents; |
| @interface ProfileChooserController (ExposedForTesting) |
| - (id)initWithBrowser:(Browser*)browser |
| anchoredAt:(NSPoint)point |
| - withMode:(profiles::BubbleViewMode)mode; |
| + withMode:(profiles::BubbleViewMode)mode |
| + withServiceType:(signin::GAIAServiceType)GAIAServiceType; |
| @end |
| #endif // CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ |