| Index: chrome/common/extensions/api/extension_api.cc
|
| diff --git a/chrome/common/extensions/api/extension_api.cc b/chrome/common/extensions/api/extension_api.cc
|
| index 0a9766348df2958092fca441eb8149fbd18457ce..c5afac9a9301debd346fa0bdca47641acb3ad20a 100644
|
| --- a/chrome/common/extensions/api/extension_api.cc
|
| +++ b/chrome/common/extensions/api/extension_api.cc
|
| @@ -18,6 +18,7 @@
|
| #include "base/values.h"
|
| #include "chrome/common/extensions/api/generated_schemas.h"
|
| #include "chrome/common/extensions/extension.h"
|
| +#include "chrome/common/extensions/features/simple_feature.h"
|
| #include "chrome/common/extensions/features/simple_feature_provider.h"
|
| #include "chrome/common/extensions/permissions/permission_set.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -286,7 +287,7 @@ void ExtensionAPI::LoadSchema(const std::string& name,
|
| if (!uses_feature_system)
|
| continue;
|
|
|
| - Feature* feature = new Feature();
|
| + SimpleFeature* feature = new SimpleFeature();
|
| feature->set_name(schema_namespace);
|
| feature->Parse(schema);
|
|
|
| @@ -307,7 +308,7 @@ void ExtensionAPI::LoadSchema(const std::string& name,
|
| DictionaryValue* child = NULL;
|
| CHECK(child_list->GetDictionary(j, &child));
|
|
|
| - scoped_ptr<Feature> child_feature(new Feature(*feature));
|
| + scoped_ptr<SimpleFeature> child_feature(new SimpleFeature(*feature));
|
| child_feature->Parse(child);
|
| if (child_feature->Equals(*feature))
|
| continue; // no need to store no-op features
|
|
|