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

Unified Diff: chrome/installer/util/shell_util.h

Issue 2794263002: Remove ScopedVector from chrome/installer/ (Closed)
Patch Set: #include <utility> Created 3 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/installer/util/scoped_user_protocol_entry_unittest.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/shell_util.h
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h
index 94c6165b2dff94c49bc2a91ee3a4591e987204e6..7fe4a6ea568ccae3919221dfa75f0e5e50585c95 100644
--- a/chrome/installer/util/shell_util.h
+++ b/chrome/installer/util/shell_util.h
@@ -14,6 +14,7 @@
#include <stdint.h>
#include <map>
+#include <memory>
#include <set>
#include <utility>
#include <vector>
@@ -22,7 +23,6 @@
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "base/strings/string16.h"
#include "chrome/installer/util/work_item_list.h"
@@ -633,8 +633,9 @@ class ShellUtil {
// This method converts all the RegistryEntries from the given list to
// Set/CreateRegWorkItems and runs them using WorkItemList.
- static bool AddRegistryEntries(HKEY root,
- const ScopedVector<RegistryEntry>& entries);
+ static bool AddRegistryEntries(
+ HKEY root,
+ const std::vector<std::unique_ptr<RegistryEntry>>& entries);
private:
DISALLOW_COPY_AND_ASSIGN(ShellUtil);
« no previous file with comments | « chrome/installer/util/scoped_user_protocol_entry_unittest.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698