Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / extensions / common / features / manifest_feature.h
blobab77d028df8f56dc24da3925b2434fd073c0a1ab
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_
8 #include <string>
10 #include "extensions/common/features/simple_feature.h"
12 namespace extensions {
14 class ManifestFeature : public SimpleFeature {
15 public:
16 ManifestFeature();
17 ~ManifestFeature() 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_MANIFEST_FEATURE_H_