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

Unified Diff: chrome/browser/chromeos/login/users/avatar/user_image_manager.h

Issue 1794323003: Make user_manager::UserImage non-copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just rebase Created 4 years, 8 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/chromeos/login/users/avatar/user_image_manager.h
diff --git a/chrome/browser/chromeos/login/users/avatar/user_image_manager.h b/chrome/browser/chromeos/login/users/avatar/user_image_manager.h
index f8f121fe337ee5d5b231ce916bda73ae691cd259..147ea9e00304af3e1a342ccb8b24cf3211b837ff 100644
--- a/chrome/browser/chromeos/login/users/avatar/user_image_manager.h
+++ b/chrome/browser/chromeos/login/users/avatar/user_image_manager.h
@@ -52,7 +52,8 @@ class UserImageManager {
// Saves image to file, sends LOGIN_USER_IMAGE_CHANGED notification and
// updates Local State.
- virtual void SaveUserImage(const user_manager::UserImage& user_image) = 0;
+ virtual void SaveUserImage(
+ scoped_ptr<user_manager::UserImage> user_image) = 0;
// Tries to load user image from disk; if successful, sets it for the user,
// sends LOGIN_USER_IMAGE_CHANGED notification and updates Local State.

Powered by Google App Engine
This is Rietveld 408576698