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

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: more fixes Created 7 years, 6 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..1bef96b38ea324fede93fa612b78237fb8a7a347 100644
--- a/chrome/common/extensions/features/feature.h
+++ b/chrome/common/extensions/features/feature.h
@@ -138,6 +138,10 @@ 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;
+ virtual void SetHasParent(bool has_parent) = 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