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

Unified Diff: base/test/test_reg_util_win.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_pending_task_unittest.cc ('k') | base/test/test_reg_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_reg_util_win.h
diff --git a/base/test/test_reg_util_win.h b/base/test/test_reg_util_win.h
index 69f5fdded7dab99115fc1108ec361aacfd7baf7a..587e28f3f847cb0cfe635574ab8ca5725272ea7f 100644
--- a/base/test/test_reg_util_win.h
+++ b/base/test/test_reg_util_win.h
@@ -6,10 +6,10 @@
#define BASE_TEST_TEST_REG_UTIL_WIN_H_
// Registry utility functions used only by tests.
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
#include "base/win/registry.h"
@@ -64,7 +64,7 @@ class RegistryOverrideManager {
base::string16 guid_;
base::string16 test_key_root_;
- std::vector<scoped_ptr<ScopedRegistryKeyOverride>> overrides_;
+ std::vector<std::unique_ptr<ScopedRegistryKeyOverride>> overrides_;
DISALLOW_COPY_AND_ASSIGN(RegistryOverrideManager);
};
« no previous file with comments | « base/test/test_pending_task_unittest.cc ('k') | base/test/test_reg_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698