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

Unified Diff: chrome/utility/image_writer/image_writer_handler.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/image_writer.cc ('k') | chrome/utility/image_writer/image_writer_unittest.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_handler.h
diff --git a/chrome/utility/image_writer/image_writer_handler.h b/chrome/utility/image_writer/image_writer_handler.h
index e8f7ee248ccdcc5fe557f92ce56195c3d04fdf16..4543dec832950ac2a87f552ae74a4bba667eaed9 100644
--- a/chrome/utility/image_writer/image_writer_handler.h
+++ b/chrome/utility/image_writer/image_writer_handler.h
@@ -7,9 +7,9 @@
#include <stdint.h>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "chrome/utility/image_writer/image_writer.h"
#include "chrome/utility/utility_message_handler.h"
#include "ipc/ipc_message.h"
@@ -45,7 +45,7 @@ class ImageWriterHandler : public UtilityMessageHandler {
void OnVerifyStart(const base::FilePath& image, const base::FilePath& device);
void OnCancel();
- scoped_ptr<ImageWriter> image_writer_;
+ std::unique_ptr<ImageWriter> image_writer_;
};
} // namespace image_writer
« no previous file with comments | « chrome/utility/image_writer/image_writer.cc ('k') | chrome/utility/image_writer/image_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698