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

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

Issue 308433002: Desktop Menu UMA for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months 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 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_

Powered by Google App Engine
This is Rietveld 408576698