Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / common / extensions / features / manifest_feature.h
blob136355773217acdefb008925d25bb942194cf844
1 // Copyright (c) 2012 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 CHROME_COMMON_EXTENSIONS_FEATURES_MANIFEST_FEATURE_H_
6 #define CHROME_COMMON_EXTENSIONS_FEATURES_MANIFEST_FEATURE_H_
8 #include "chrome/common/extensions/features/simple_feature.h"
10 namespace extensions {
12 class ManifestFeature : public SimpleFeature {
13 public:
14 ManifestFeature();
15 virtual ~ManifestFeature();
17 virtual Feature::Availability IsAvailableToContext(
18 const Extension* extension,
19 Feature::Context context,
20 const GURL& url,
21 Feature::Platform platform) const OVERRIDE;
23 virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE;
26 } // extensions
28 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_MANIFEST_FEATURE_H_