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

Unified Diff: extensions/browser/extension_pref_value_map.h

Issue 1909773002: Convert //extensions/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 | « extensions/browser/extension_message_filter.h ('k') | extensions/browser/extension_pref_value_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_pref_value_map.h
diff --git a/extensions/browser/extension_pref_value_map.h b/extensions/browser/extension_pref_value_map.h
index aed71c5c590d4bed5de173f613ab4622a34dae92..d13609162a63f68e77c2aea465fa821a3776bcf4 100644
--- a/extensions/browser/extension_pref_value_map.h
+++ b/extensions/browser/extension_pref_value_map.h
@@ -6,11 +6,11 @@
#define EXTENSIONS_BROWSER_EXTENSION_PREF_VALUE_MAP_H_
#include <map>
+#include <memory>
#include <set>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "components/keyed_service/core/keyed_service.h"
#include "extensions/browser/extension_prefs_scope.h"
@@ -164,7 +164,8 @@ class ExtensionPrefValueMap : public KeyedService {
private:
struct ExtensionEntry;
- typedef std::map<std::string, scoped_ptr<ExtensionEntry>> ExtensionEntryMap;
+ typedef std::map<std::string, std::unique_ptr<ExtensionEntry>>
+ ExtensionEntryMap;
const PrefValueMap* GetExtensionPrefValueMap(
const std::string& ext_id,
« no previous file with comments | « extensions/browser/extension_message_filter.h ('k') | extensions/browser/extension_pref_value_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698