| Index: chrome/common/extensions/manifest_feature.h
|
| diff --git a/chrome/common/extensions/manifest_feature.h b/chrome/common/extensions/manifest_feature.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d1567591c10ea39ea9ac2283f534c30a11fc797d
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/manifest_feature.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_FEATURE_H_
|
| +#define CHROME_COMMON_EXTENSIONS_MANIFEST_FEATURE_H_
|
| +#pragma once
|
| +
|
| +#include "chrome/common/extensions/feature.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +class ManifestFeature : public Feature {
|
| + public:
|
| + ManifestFeature();
|
| + virtual ~ManifestFeature();
|
| +
|
| + virtual Feature::Availability IsAvailableToContext(
|
| + const Extension* extension,
|
| + Feature::Context context,
|
| + Feature::Platform platform) const OVERRIDE;
|
| +};
|
| +
|
| +} // extensions
|
| +
|
| +#endif // CHROME_COMMON_EXTENSIONS_MANIFEST_FEATURE_H_
|
|
|