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

Unified Diff: extensions/browser/extension_prefs.h

Issue 2294653002: Some linked_ptr -> unique_ptr conversion in extensions/browser. (Closed)
Patch Set: nullptr Created 4 years, 4 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
Index: extensions/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index 0cccd4945d236b213ab95760d66eee89a7894b55..6d9e133fde1b673a92e058e87f05d6aa084e5ae6 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -11,7 +11,6 @@
#include <vector>
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
#include "base/observer_list.h"
#include "base/time/time.h"
#include "base/values.h"
@@ -59,7 +58,7 @@ class URLPatternSet;
// maintains as the underlying extensions change.
class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
public:
- typedef std::vector<linked_ptr<ExtensionInfo> > ExtensionsInfo;
+ using ExtensionsInfo = std::vector<std::unique_ptr<ExtensionInfo>>;
// Vector containing identifiers for preferences.
typedef std::set<std::string> PrefKeySet;

Powered by Google App Engine
This is Rietveld 408576698