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

Unified Diff: chrome/utility/image_writer/disk_unmounter_mac.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_decoder_impl.cc ('k') | chrome/utility/image_writer/disk_unmounter_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_writer/disk_unmounter_mac.h
diff --git a/chrome/utility/image_writer/disk_unmounter_mac.h b/chrome/utility/image_writer/disk_unmounter_mac.h
index 2b0992bbc2155d5889ae3ba6746fff1de2cf7df0..81a5641ad5d97877fd53c9b2e0a6263ef0976f07 100644
--- a/chrome/utility/image_writer/disk_unmounter_mac.h
+++ b/chrome/utility/image_writer/disk_unmounter_mac.h
@@ -8,10 +8,11 @@
#include <CoreFoundation/CoreFoundation.h>
#include <DiskArbitration/DiskArbitration.h>
+#include <memory>
+
#include "base/bind.h"
#include "base/callback.h"
#include "base/mac/foundation_util.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
@@ -51,7 +52,7 @@ class DiskUnmounterMac {
void* context);
// A |MessagePumpFactory| for creating the thread.
- static scoped_ptr<base::MessagePump> CreateMessagePump();
+ static std::unique_ptr<base::MessagePump> CreateMessagePump();
// Starts the unmount process. Should be posted to the |cf_thread_|.
void UnmountOnWorker(const std::string& device_path);
« no previous file with comments | « chrome/utility/image_decoder_impl.cc ('k') | chrome/utility/image_writer/disk_unmounter_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698