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

Unified Diff: chrome/browser/ui/ash/session_util.h

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test Created 3 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
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_chromeos.cc ('k') | chrome/browser/ui/ash/session_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/session_util.h
diff --git a/chrome/browser/ui/ash/session_util.h b/chrome/browser/ui/ash/session_util.h
index a190a9cc84f42534cc0938e64520a6195dac6c58..961acec5d2192f70ce3a61f22f9fba995cf49b74 100644
--- a/chrome/browser/ui/ash/session_util.h
+++ b/chrome/browser/ui/ash/session_util.h
@@ -16,6 +16,10 @@ namespace content {
class BrowserContext;
}
+namespace user_manager {
+class User;
+}
+
content::BrowserContext* GetActiveBrowserContext();
using GetActiveBrowserContextCallback =
@@ -30,5 +34,6 @@ bool CanShowWindowForUser(
const GetActiveBrowserContextCallback& get_context_callback);
gfx::ImageSkia GetAvatarImageForContext(content::BrowserContext* context);
+gfx::ImageSkia GetAvatarImageForUser(const user_manager::User* user);
#endif // CHROME_BROWSER_UI_ASH_SESSION_UTIL_H_
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_chromeos.cc ('k') | chrome/browser/ui/ash/session_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698