| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTENSIONS_COMMON_FEATURES_MANIFEST_FEATURE_H_ | 5 #ifndef EXTENSIONS_COMMON_FEATURES_MANIFEST_FEATURE_H_ |
| 6 #define EXTENSIONS_COMMON_FEATURES_MANIFEST_FEATURE_H_ | 6 #define EXTENSIONS_COMMON_FEATURES_MANIFEST_FEATURE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "extensions/common/features/simple_feature.h" | 10 #include "extensions/common/features/simple_feature.h" |
| 11 | 11 |
| 12 namespace extensions { | 12 namespace extensions { |
| 13 | 13 |
| 14 class ManifestFeature : public SimpleFeature { | 14 class ManifestFeature : public SimpleFeature { |
| 15 public: | 15 public: |
| 16 ManifestFeature(); | 16 ManifestFeature(); |
| 17 virtual ~ManifestFeature(); | 17 virtual ~ManifestFeature(); |
| 18 | 18 |
| 19 virtual Feature::Availability IsAvailableToContext( | 19 virtual Feature::Availability IsAvailableToContext( |
| 20 const Extension* extension, | 20 const Extension* extension, |
| 21 Feature::Context context, | 21 Feature::Context context, |
| 22 const GURL& url, | 22 const GURL& url, |
| 23 Feature::Platform platform) const OVERRIDE; | 23 Feature::Platform platform) const override; |
| 24 | 24 |
| 25 virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE; | 25 virtual std::string Parse(const base::DictionaryValue* value) override; |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 } // namespace extensions | 28 } // namespace extensions |
| 29 | 29 |
| 30 #endif // EXTENSIONS_COMMON_FEATURES_MANIFEST_FEATURE_H_ | 30 #endif // EXTENSIONS_COMMON_FEATURES_MANIFEST_FEATURE_H_ |
| OLD | NEW |