Index: chrome/browser/profiles/profile_avatar_icon_util.h |
diff --git a/chrome/browser/profiles/profile_avatar_icon_util.h b/chrome/browser/profiles/profile_avatar_icon_util.h |
index 8e272121fb71448f1af131fde489ab035db019b8..34126e9ab8415eb5d934d9402e853facb0b2c318 100644 |
--- a/chrome/browser/profiles/profile_avatar_icon_util.h |
+++ b/chrome/browser/profiles/profile_avatar_icon_util.h |
@@ -94,6 +94,13 @@ gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image, |
// so that when resized to a square aspect ratio it looks pretty. |
SkBitmap GetAvatarIconAsSquare(const SkBitmap& source_bitmap, int scale_factor); |
+// 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, always return the non-high res version. |
+void GetTransparentBackgroundProfileAvatar(const base::FilePath& profile_path, |
+ gfx::Image* image, |
+ bool* is_rectangle); |
+ |
} // namespace profiles |
#endif // CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ |