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

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: Nits 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 cfe9cfef8f86a238891523d69cf5badacdc24540..96fcc89ba25da77db3c41fac29dc43db5f5e404e 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -7,6 +7,7 @@
#include "base/callback_forward.h"
#include "chrome/browser/lifetime/browser_close_manager.h"
+#include "chrome/browser/signin/signin_header_helper.h"
#include "chrome/browser/translate/translate_tab_helper.h"
#include "chrome/browser/ui/bookmarks/bookmark_bar.h"
#include "chrome/browser/ui/browser.h"
@@ -364,14 +365,15 @@ 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_SIGNIN,
- AVATAR_BUBBLE_MODE_REAUTH
+ AVATAR_BUBBLE_MODE_REAUTH,
};
- virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode) = 0;
+ virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode,
+ signin::GAIAServiceType 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