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

Unified Diff: chrome/browser/profiles/avatar_menu.h

Issue 1972033002: Simplify some old avatar menu button code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reinstate ash browser test fix Created 4 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/profiles/avatar_menu.h
diff --git a/chrome/browser/profiles/avatar_menu.h b/chrome/browser/profiles/avatar_menu.h
index 4b46f6986d27b6588db8a4ea34e0866a814180c5..b3ac4db467023a22cc96c4aff4ef8ebce82d97a1 100644
--- a/chrome/browser/profiles/avatar_menu.h
+++ b/chrome/browser/profiles/avatar_menu.h
@@ -97,12 +97,10 @@ class AvatarMenu :
// True if avatar menu should be displayed.
static bool ShouldShowAvatarMenu();
- // Sets |image| to the avatar corresponding to the profile at |profile_path|
- // and sets |is_rectangle| to true unless |image| is a built-in profile
- // avatar. For built-in profile avatars, returns the non-high res version.
+ // Sets |image| to the avatar corresponding to the profile at |profile_path|.
+ // For built-in profile avatars, returns the non-high res version.
static void GetImageForMenuButton(const base::FilePath& profile_path,
- gfx::Image* image,
- bool* is_rectangle);
+ gfx::Image* image);
// Opens a Browser with the specified profile in response to the user
// selecting an item. If |always_create| is true then a new window is created
« no previous file with comments | « chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc ('k') | chrome/browser/profiles/avatar_menu_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698