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

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

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: optimize and "parent" property Created 7 years, 7 months 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
Index: chrome/common/extensions/features/feature.h
diff --git a/chrome/common/extensions/features/feature.h b/chrome/common/extensions/features/feature.h
index ef7a6e6d5705d0a358a89e54369877bffcf92ffe..6a5093634b1b44a6964cfcbd8fa4d9ab5bcbad98 100644
--- a/chrome/common/extensions/features/feature.h
+++ b/chrome/common/extensions/features/feature.h
@@ -138,6 +138,9 @@ class Feature {
// Tests whether this is an internal API or not.
virtual bool IsInternal() const = 0;
+ // Tests whether this Feature has a parent Feature.
+ virtual bool HasParent() const = 0;
+
// Returns true if the feature is available to be parsed into a new extension
// manifest.
Availability IsAvailableToManifest(const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698