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

Unified Diff: chrome/browser/ui/webui/settings/profile_info_handler.cc

Issue 2607883002: MD Settings: users: Register UserImageSource in handler (Closed)
Patch Set: Make cros only Created 3 years, 12 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/profile_info_handler.cc
diff --git a/chrome/browser/ui/webui/settings/profile_info_handler.cc b/chrome/browser/ui/webui/settings/profile_info_handler.cc
index 1dcdfd3ba09643d5faa7f11cedcaa4f02fa06412..60f91128272a4d01d4fc538b3374957207592771 100644
--- a/chrome/browser/ui/webui/settings/profile_info_handler.cc
+++ b/chrome/browser/ui/webui/settings/profile_info_handler.cc
@@ -41,7 +41,13 @@ const char ProfileInfoHandler::kProfileStatsCountReadyEventName[] =
ProfileInfoHandler::ProfileInfoHandler(Profile* profile)
: profile_(profile),
- profile_observer_(this) {}
+ profile_observer_(this) {
+#if defined(OS_CHROMEOS)
+ // Set up the chrome://userimage/ source.
+ content::URLDataSource::Add(profile,
+ new chromeos::options::UserImageSource());
+#endif
+}
ProfileInfoHandler::~ProfileInfoHandler() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698