| 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 5b6be3d3ce76d79a7673fd467e76f878a1a13d74..1b840f393ca6141c3554b729e640cb2c2c43cfa9 100644
|
| --- a/extensions/common/features/base_feature_provider.h
|
| +++ b/extensions/common/features/base_feature_provider.h
|
| @@ -41,6 +41,10 @@
|
|
|
| void AddFeature(base::StringPiece name, std::unique_ptr<Feature> feature);
|
|
|
| + // Takes ownership. Used in preference to unique_ptr variant to reduce size
|
| + // of generated code.
|
| + void AddFeature(base::StringPiece name, Feature* feature);
|
| +
|
| private:
|
| std::map<std::string, std::unique_ptr<Feature>> features_;
|
|
|
|
|