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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_api.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/extensions/wallpaper_api.h
diff --git a/chrome/browser/chromeos/extensions/wallpaper_api.h b/chrome/browser/chromeos/extensions/wallpaper_api.h
index 0792c7a41a292ce97b5c8936c347651b4a67054b..b57771c987422ceb8d9ed22c325b1a81adc5be7e 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_api.h
+++ b/chrome/browser/chromeos/extensions/wallpaper_api.h
@@ -43,7 +43,7 @@ class WallpaperSetWallpaperFunction : public WallpaperFunctionBase {
// Generates thumbnail of custom wallpaper. A simple STRETCH is used for
// generating thumbnail.
void GenerateThumbnail(const base::FilePath& thumbnail_path,
- scoped_ptr<gfx::ImageSkia> image);
+ std::unique_ptr<gfx::ImageSkia> image);
// Thumbnail is ready. Calls api function javascript callback.
void ThumbnailGenerated(base::RefCountedBytes* original_data,
@@ -52,7 +52,7 @@ class WallpaperSetWallpaperFunction : public WallpaperFunctionBase {
// Called by OnURLFetchComplete().
void OnWallpaperFetched(bool success, const std::string& response);
- scoped_ptr<extensions::api::wallpaper::SetWallpaper::Params> params_;
+ std::unique_ptr<extensions::api::wallpaper::SetWallpaper::Params> params_;
// Unique file name of the custom wallpaper.
std::string file_name_;

Powered by Google App Engine
This is Rietveld 408576698