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..4c877a83070e8916f889208963269a43d92d0462 100644 |
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h |
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h |
@@ -14,6 +14,7 @@ |
#import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
#include "chrome/browser/ui/profile_chooser_constants.h" |
#include "components/signin/core/browser/signin_header_helper.h" |
+#include "components/signin/core/browser/signin_metrics.h" |
class AvatarMenu; |
class ActiveProfileObserverBridge; |
@@ -64,13 +65,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; |