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 4df0939edeea648b4abe4f33602fc609e6f2afd4..722d12994849568b4339480275df479261795a55 100644 |
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h |
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h |
@@ -23,6 +23,11 @@ class ProfileOAuth2TokenService; |
namespace content { |
class WebContents; |
} |
+ |
+namespace signin_metrics { |
+enum class AccessPoint; |
+} |
+ |
class GaiaWebContentsDelegate; |
// This window controller manages the bubble that displays a "menu" of profiles. |
@@ -64,13 +69,17 @@ class GaiaWebContentsDelegate; |
// The GAIA service type that caused this menu to open. |
signin::GAIAServiceType serviceType_; |
+ |
+ // The current access point of sign in. |
+ signin_metrics::AccessPoint accessPoint_; |
} |
- (id)initWithBrowser:(Browser*)browser |
anchoredAt:(NSPoint)point |
viewMode:(profiles::BubbleViewMode)viewMode |
tutorialMode:(profiles::TutorialMode)tutorialMode |
- serviceType:(signin::GAIAServiceType)GAIAServiceType; |
+ serviceType:(signin::GAIAServiceType)GAIAServiceType |
+ accessPoint:(signin_metrics::AccessPoint)accessPoint; |
// Creates all the subviews of the avatar bubble for |viewToDisplay|. |
- (void)initMenuContentsWithView:(profiles::BubbleViewMode)viewToDisplay; |