Index: extensions/common/features/simple_feature.h |
diff --git a/extensions/common/features/simple_feature.h b/extensions/common/features/simple_feature.h |
index 94b39fb9fd0c5b5f4bf5dce5a5f95bd7e1c17b7e..9f9ae64b814a05eec650c51f6ec75728c0fb5627 100644 |
--- a/extensions/common/features/simple_feature.h |
+++ b/extensions/common/features/simple_feature.h |
@@ -206,6 +206,10 @@ class SimpleFeature : public Feature { |
bool MatchesManifestLocation(Manifest::Location manifest_location) const; |
+ // Checks if the feature is allowed in a session of type |session_type| |
+ // (based on session type feature restrictions). |
+ bool MatchesSessionTypes(FeatureSessionType session_type) const; |
+ |
Availability CheckDependencies( |
const base::Callback<Availability(const Feature*)>& checker) const; |