Remove five deleted header files from .gyp files
[chromium-blink-merge.git] / extensions / common / features / permission_feature.h
blobff4a0ad9c089f1297569e5d369643e1d7a877544
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_PERMISSION_FEATURE_H_
6 #define EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_
8 #include <string>
10 #include "extensions/common/features/simple_feature.h"
12 namespace extensions {
14 class PermissionFeature : public SimpleFeature {
15 public:
16 PermissionFeature();
17 ~PermissionFeature() override;
19 Feature::Availability IsAvailableToContext(
20 const Extension* extension,
21 Feature::Context context,
22 const GURL& url,
23 Feature::Platform platform) const override;
25 std::string Parse(const base::DictionaryValue* value) override;
28 } // namespace extensions
30 #endif // EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_