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

Unified Diff: extensions/common/features/feature_provider.h

Issue 1908953003: Convert //extensions/{common,shell} from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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
Index: extensions/common/features/feature_provider.h
diff --git a/extensions/common/features/feature_provider.h b/extensions/common/features/feature_provider.h
index 824ce85b3eef12e6cfd702302eb45f12564e5f77..2159bf13f36518cf761d6a5585252bb871fccd06 100644
--- a/extensions/common/features/feature_provider.h
+++ b/extensions/common/features/feature_provider.h
@@ -6,16 +6,16 @@
#define EXTENSIONS_COMMON_FEATURES_FEATURE_PROVIDER_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
namespace extensions {
class Feature;
-using FeatureMap = std::map<std::string, scoped_ptr<Feature>>;
+using FeatureMap = std::map<std::string, std::unique_ptr<Feature>>;
// Implemented by classes that can vend features.
class FeatureProvider {
« no previous file with comments | « extensions/common/features/complex_feature_unittest.cc ('k') | extensions/common/features/feature_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698