Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h

Issue 1473543002: Implement newly designed sign-in related histograms for desktop platorms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698