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

Unified Diff: chrome/installer/util/scoped_user_protocol_entry.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 | « no previous file | chrome/installer/util/scoped_user_protocol_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/scoped_user_protocol_entry.h
diff --git a/chrome/installer/util/scoped_user_protocol_entry.h b/chrome/installer/util/scoped_user_protocol_entry.h
index 0ca2b5ef040a80ab9f1dd6c58910cec36ce7ee1c..eee58d2b9e5bd844630dfe0a681f05c064d632a5 100644
--- a/chrome/installer/util/scoped_user_protocol_entry.h
+++ b/chrome/installer/util/scoped_user_protocol_entry.h
@@ -5,8 +5,10 @@
#ifndef CHROME_INSTALLER_UTIL_SCOPED_USER_PROTOCOL_ENTRY_H_
#define CHROME_INSTALLER_UTIL_SCOPED_USER_PROTOCOL_ENTRY_H_
+#include <memory>
+#include <vector>
+
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
class RegistryEntry;
@@ -24,7 +26,7 @@ class ScopedUserProtocolEntry {
~ScopedUserProtocolEntry();
private:
- ScopedVector<RegistryEntry> entries_;
+ std::vector<std::unique_ptr<RegistryEntry>> entries_;
DISALLOW_COPY_AND_ASSIGN(ScopedUserProtocolEntry);
};
« no previous file with comments | « no previous file | chrome/installer/util/scoped_user_protocol_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698