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

Unified Diff: chrome/browser/ui/browser_window.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/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 431c35a04720c4ae497a2a43bee61174eab030b3..4a9c6e0d7b845a689b58babb95a214ea8323ee7c 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -54,6 +54,10 @@ class Rect;
class Size;
}
+namespace signin {
+enum GAIA_SERVICE_TYPE;
+}
+
namespace web_modal {
class WebContentsModalDialogHost;
}
@@ -364,12 +368,13 @@ class BrowserWindow : public ui::BaseWindow {
const gfx::Rect& rect) = 0;
// Shows the avatar bubble on the window frame off of the avatar button with
- // the given mode.
+ // the given mode. The Service Type specified by GAIA is provided as well.
enum AvatarBubbleMode {
AVATAR_BUBBLE_MODE_DEFAULT,
- AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT
+ AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT,
};
- virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode) = 0;
+ virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode,
+ signin::GAIA_SERVICE_TYPE service_type) = 0;
// Show bubble for password generation positioned relative to |rect|. The
// subclasses implementing this interface do not own the |password_generator|

Powered by Google App Engine
This is Rietveld 408576698