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

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

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 147ea9e00304af3e1a342ccb8b24cf3211b837ff..0a024ac547a38d3f3b1967248396ba952b77b9c3 100644
--- a/chrome/browser/chromeos/login/users/avatar/user_image_manager.h
+++ b/chrome/browser/chromeos/login/users/avatar/user_image_manager.h
@@ -53,7 +53,7 @@ class UserImageManager {
// Saves image to file, sends LOGIN_USER_IMAGE_CHANGED notification and
// updates Local State.
virtual void SaveUserImage(
- scoped_ptr<user_manager::UserImage> user_image) = 0;
+ std::unique_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.
@@ -99,7 +99,7 @@ class UserImageManager {
// (e.g. because the external data reference specifies an invalid URL),
// the method is not called at all.
virtual void OnExternalDataFetched(const std::string& policy,
- scoped_ptr<std::string> data) = 0;
+ std::unique_ptr<std::string> data) = 0;
protected:
const std::string& user_id() const { return user_id_; }

Powered by Google App Engine
This is Rietveld 408576698