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

Unified Diff: chrome/utility/importer/firefox_importer_unittest_utils.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
Index: chrome/utility/importer/firefox_importer_unittest_utils.h
diff --git a/chrome/utility/importer/firefox_importer_unittest_utils.h b/chrome/utility/importer/firefox_importer_unittest_utils.h
index a0b3e689d60ca63838f898dd76d9cf3b83065540..f368dae11ab624d455d21c912d949b1f0c1d3c89 100644
--- a/chrome/utility/importer/firefox_importer_unittest_utils.h
+++ b/chrome/utility/importer/firefox_importer_unittest_utils.h
@@ -5,9 +5,10 @@
#ifndef CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_UNITTEST_UTILS_H_
#define CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_UNITTEST_UTILS_H_
+#include <memory>
+
#include "base/files/file_util.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/process/process.h"
#include "build/build_config.h"
#include "chrome/utility/importer/nss_decryptor.h"
@@ -59,9 +60,9 @@ class FFUnitTestDecryptorProxy {
bool WaitForClientResponse();
base::Process child_process_;
- scoped_ptr<IPC::Channel> channel_;
- scoped_ptr<FFDecryptorServerChannelListener> listener_;
- scoped_ptr<base::MessageLoopForIO> message_loop_;
+ std::unique_ptr<IPC::Channel> channel_;
+ std::unique_ptr<FFDecryptorServerChannelListener> listener_;
+ std::unique_ptr<base::MessageLoopForIO> message_loop_;
#else
NSSDecryptor decryptor_;
#endif // !OS_MACOSX
« no previous file with comments | « chrome/utility/importer/firefox_importer.cc ('k') | chrome/utility/importer/firefox_importer_unittest_utils_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698