summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/features/complex_feature.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/features/complex_feature.cc')
-rw-r--r--chrome/common/extensions/features/complex_feature.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/extensions/features/complex_feature.cc b/chrome/common/extensions/features/complex_feature.cc
index 57c9ad4..5b11019 100644
--- a/chrome/common/extensions/features/complex_feature.cc
+++ b/chrome/common/extensions/features/complex_feature.cc
@@ -72,13 +72,14 @@ bool ComplexFeature::IsInternal() const {
std::string ComplexFeature::GetAvailabilityMessage(AvailabilityResult result,
Manifest::Type type,
- const GURL& url) const {
+ const GURL& url,
+ Context context) const {
if (result == IS_AVAILABLE)
return std::string();
// TODO(justinlin): Form some kind of combined availabilities/messages from
// SimpleFeatures.
- return features_[0]->GetAvailabilityMessage(result, type, url);
+ return features_[0]->GetAvailabilityMessage(result, type, url, context);
}
bool ComplexFeature::IsIdInWhitelist(const std::string& extension_id) const {