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

Unified Diff: extensions/common/features/base_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
« no previous file with comments | « extensions/common/extensions_client.h ('k') | extensions/common/features/base_feature_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/base_feature_provider.h
diff --git a/extensions/common/features/base_feature_provider.h b/extensions/common/features/base_feature_provider.h
index 0d6129234c1e77e9d3e9de3f593de28a5abf8de5..503371e05862518348487d5ece77d6be387e157e 100644
--- a/extensions/common/features/base_feature_provider.h
+++ b/extensions/common/features/base_feature_provider.h
@@ -6,10 +6,10 @@
#define EXTENSIONS_COMMON_FEATURES_BASE_FEATURE_PROVIDER_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "extensions/common/features/feature_provider.h"
#include "extensions/common/features/simple_feature.h"
@@ -38,7 +38,7 @@ class BaseFeatureProvider : public FeatureProvider {
const FeatureMap& GetAllFeatures() const override;
private:
- std::map<std::string, scoped_ptr<Feature>> features_;
+ std::map<std::string, std::unique_ptr<Feature>> features_;
// Populated on first use.
mutable std::vector<std::string> feature_names_;
« no previous file with comments | « extensions/common/extensions_client.h ('k') | extensions/common/features/base_feature_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698