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

Unified Diff: base/test/test_reg_util_win.h

Issue 1527603002: Remove ScopedVector from test_reg_util_win (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: presubmit DONE Created 5 years 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 | « AUTHORS ('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 5f23b7f3b7374867adae340aacbc3dfffdc90b3d..c264402ab8ceb7a2b72ae86ce6c4eb0757d9c16a 100644
--- a/base/test/test_reg_util_win.h
+++ b/base/test/test_reg_util_win.h
@@ -6,9 +6,10 @@
#define BASE_TEST_TEST_REG_UTIL_WIN_H_
// Registry utility functions used only by tests.
+#include <vector>
#include "base/basictypes.h"
-#include "base/memory/scoped_vector.h"
+#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
#include "base/win/registry.h"
@@ -63,7 +64,7 @@ class RegistryOverrideManager {
base::string16 guid_;
base::string16 test_key_root_;
- ScopedVector<ScopedRegistryKeyOverride> overrides_;
+ std::vector<scoped_ptr<ScopedRegistryKeyOverride>> overrides_;
DISALLOW_COPY_AND_ASSIGN(RegistryOverrideManager);
};
« no previous file with comments | « AUTHORS ('k') | base/test/test_reg_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698