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

Unified Diff: chrome/common/extensions/features/simple_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/simple_feature.h
diff --git a/chrome/common/extensions/features/simple_feature.h b/chrome/common/extensions/features/simple_feature.h
index 0ba63b734132b02fd07436ec8f43c0af9274f030..c495be3c2131c1044bbd02b682aaaf42e763f370 100644
--- a/chrome/common/extensions/features/simple_feature.h
+++ b/chrome/common/extensions/features/simple_feature.h
@@ -87,6 +87,8 @@ class SimpleFeature : public Feature {
virtual std::set<Context>* GetContexts() OVERRIDE;
virtual bool IsInternal() const OVERRIDE;
+ virtual bool HasParent() const OVERRIDE;
+ virtual void SetHasParent(bool has_parent) OVERRIDE;
virtual bool IsIdInWhitelist(const std::string& extension_id) const OVERRIDE;
@@ -111,6 +113,8 @@ class SimpleFeature : public Feature {
int min_manifest_version_;
int max_manifest_version_;
chrome::VersionInfo::Channel channel_;
+ bool has_parent_;
+ bool channel_has_been_set_;
FRIEND_TEST_ALL_PREFIXES(ExtensionSimpleFeatureTest, Context);
};

Powered by Google App Engine
This is Rietveld 408576698