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

Unified Diff: chrome/utility/profile_import_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/media_galleries/pmp_column_reader.h ('k') | chrome/utility/safe_browsing/mac/crdmg.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/profile_import_handler.h
diff --git a/chrome/utility/profile_import_handler.h b/chrome/utility/profile_import_handler.h
index cf7c909ed4b2f450d0daff6c05644e30c78baedd..02c43a5a8f8b0d32a4c76f8418816e321eab3417 100644
--- a/chrome/utility/profile_import_handler.h
+++ b/chrome/utility/profile_import_handler.h
@@ -7,9 +7,10 @@
#include <stdint.h>
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/utility/utility_message_handler.h"
class ExternalProcessImporterBridge;
@@ -45,7 +46,7 @@ class ProfileImportHandler : public UtilityMessageHandler {
// Thread that importer runs on, while ProfileImportThread handles messages
// from the browser process.
- scoped_ptr<base::Thread> import_thread_;
+ std::unique_ptr<base::Thread> import_thread_;
// Bridge object is passed to importer, so that it can send IPC calls
// directly back to the ProfileImportProcessHost.
« no previous file with comments | « chrome/utility/media_galleries/pmp_column_reader.h ('k') | chrome/utility/safe_browsing/mac/crdmg.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698