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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h

Issue 2603423002: cros: Fix user image change crash (Closed)
Patch Set: rebase 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 | chrome/browser/ui/webui/settings/chromeos/change_picture_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h
diff --git a/chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h b/chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h
index 55e718bfbf1cb78ad84e835c5ca1a56dcf74435d..a213282241e70498ac8684f802cc4d9ef1446939 100644
--- a/chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h
+++ b/chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h
@@ -126,6 +126,8 @@ class ChangePictureHandler : public ::settings::SettingsPageUIHandler,
// Data URL for |user_photo_|.
std::string user_photo_data_url_;
+ ScopedObserver<user_manager::UserManager, ChangePictureHandler>
+ user_manager_observer_;
ScopedObserver<CameraPresenceNotifier, ChangePictureHandler> camera_observer_;
DISALLOW_COPY_AND_ASSIGN(ChangePictureHandler);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/chromeos/change_picture_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698