1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_COMMON_FEATURES_MANIFEST_FEATURE_H_
6 #define EXTENSIONS_COMMON_FEATURES_MANIFEST_FEATURE_H_
10 #include "extensions/common/features/simple_feature.h"
12 namespace extensions
{
14 class ManifestFeature
: public SimpleFeature
{
17 ~ManifestFeature() override
;
19 Feature::Availability
IsAvailableToContext(
20 const Extension
* extension
,
21 Feature::Context context
,
23 Feature::Platform platform
) const override
;
25 std::string
Parse(const base::DictionaryValue
* value
) override
;
28 } // namespace extensions
30 #endif // EXTENSIONS_COMMON_FEATURES_MANIFEST_FEATURE_H_