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

Unified Diff: base/test/test_suite.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 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 | « base/test/test_reg_util_win_unittest.cc ('k') | base/test/test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_suite.h
diff --git a/base/test/test_suite.h b/base/test/test_suite.h
index 68590ebba0ee5688d2cb6e834d69e0e72e7ea5df..deef72d5638d8b28452b26ae41bb1775b71f7a1a 100644
--- a/base/test/test_suite.h
+++ b/base/test/test_suite.h
@@ -9,11 +9,11 @@
// instantiate this class in your main function and call its Run method to run
// any gtest based tests that are linked into your executable.
+#include <memory>
#include <string>
#include "base/at_exit.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/test/trace_to_file.h"
#include "build/build_config.h"
@@ -67,7 +67,7 @@ class TestSuite {
// Make sure that we setup an AtExitManager so Singleton objects will be
// destroyed.
- scoped_ptr<base::AtExitManager> at_exit_manager_;
+ std::unique_ptr<base::AtExitManager> at_exit_manager_;
private:
void InitializeFromCommandLine(int argc, char** argv);
« no previous file with comments | « base/test/test_reg_util_win_unittest.cc ('k') | base/test/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698