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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.h

Issue 288493008: UMA Metrics for the user menu, including vasquette-detection (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split user-menu data based on GAIA service type 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/views/profiles/profile_chooser_view.h
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.h b/chrome/browser/ui/views/profiles/profile_chooser_view.h
index b68f3b231bc9015de10960d5ea5a63854bbf5465..c6954ed5fe657deed43014ced71ccea57f20a44f 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
@@ -73,6 +73,7 @@ class ProfileChooserView : public views::BubbleDelegateView,
// showing it will appear while if it is showing, nothing will happen here and
// the existing bubble will auto-close due to focus loss.
static void ShowBubble(BubbleViewMode view_mode,
+ signin::GAIA_SERVICE_TYPE service_type,
views::View* anchor_view,
views::BubbleBorder::Arrow arrow,
views::BubbleBorder::BubbleAlignment border_alignment,
@@ -100,7 +101,8 @@ class ProfileChooserView : public views::BubbleDelegateView,
views::BubbleBorder::Arrow arrow,
const gfx::Rect& anchor_rect,
Browser* browser,
- BubbleViewMode view_mode);
+ BubbleViewMode view_mode,
+ signin::GAIA_SERVICE_TYPE service_type);
virtual ~ProfileChooserView();
// views::BubbleDelegateView:
@@ -252,6 +254,9 @@ class ProfileChooserView : public views::BubbleDelegateView,
// The current tutorial mode.
TutorialMode tutorial_mode_;
+ // The GAIA service type provided in the response header.
+ const signin::GAIA_SERVICE_TYPE gaia_service_type_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileChooserView);
};

Powered by Google App Engine
This is Rietveld 408576698