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

Unified Diff: chrome/utility/image_writer/image_writer.h

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
« no previous file with comments | « chrome/utility/image_writer/disk_unmounter_mac.cc ('k') | chrome/utility/image_writer/image_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_writer/image_writer.h
diff --git a/chrome/utility/image_writer/image_writer.h b/chrome/utility/image_writer/image_writer.h
index ad7b0bc8c0fef78948b24de41df9291aad1ad9f2..7129bdda801fb48ca1fd9a09ac9687e83e1edd48 100644
--- a/chrome/utility/image_writer/image_writer.h
+++ b/chrome/utility/image_writer/image_writer.h
@@ -7,13 +7,13 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/bind.h"
#include "base/callback.h"
#include "base/files/file.h"
#include "base/files/file_path.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "build/build_config.h"
@@ -88,7 +88,7 @@ class ImageWriter : public base::SupportsWeakPtr<ImageWriter> {
#if defined(OS_MACOSX)
friend class DiskUnmounterMac;
- scoped_ptr<DiskUnmounterMac> unmounter_;
+ std::unique_ptr<DiskUnmounterMac> unmounter_;
#endif
ImageWriterHandler* handler_;
« no previous file with comments | « chrome/utility/image_writer/disk_unmounter_mac.cc ('k') | chrome/utility/image_writer/image_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698