Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5580)

Unified Diff: chrome/common/extensions/features/manifest_feature.h

Issue 11568034: Changing inheritance to composition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/features/manifest_feature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/features/manifest_feature.h
diff --git a/chrome/common/extensions/features/manifest_feature.h b/chrome/common/extensions/features/manifest_feature.h
index 0ec0cd72b742f698351bc6d799ba53701cc3949e..7d1c74f7110a07b9382f9bd8a02ffd5bd2a149c2 100644
--- a/chrome/common/extensions/features/manifest_feature.h
+++ b/chrome/common/extensions/features/manifest_feature.h
@@ -11,13 +11,16 @@ namespace extensions {
class ManifestFeature : public Feature {
public:
- ManifestFeature();
+ explicit ManifestFeature(scoped_ptr<Feature> feature);
virtual ~ManifestFeature();
virtual Feature::Availability IsAvailableToContext(
const Extension* extension,
Feature::Context context,
Feature::Platform platform) const OVERRIDE;
+
+ private:
+ scoped_ptr<Feature> feature_;
};
} // extensions
« no previous file with comments | « no previous file | chrome/common/extensions/features/manifest_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698