Index: chrome/common/extensions/features/complex_feature.cc |
diff --git a/chrome/common/extensions/features/complex_feature.cc b/chrome/common/extensions/features/complex_feature.cc |
index 09eb426daa738b173774b134e3c7349ea2cdd35f..bc0c2e9dc1efce7cbd7f47610c15d20ab62376c3 100644 |
--- a/chrome/common/extensions/features/complex_feature.cc |
+++ b/chrome/common/extensions/features/complex_feature.cc |
@@ -72,6 +72,18 @@ bool ComplexFeature::IsInternal() const { |
return false; |
} |
+bool ComplexFeature::HasParent() const { |
+ for (FeatureList::const_iterator it = features_.begin(); |
+ it != features_.end(); ++it) { |
+ if ((*it)->HasParent()) |
+ return true; |
+ } |
+ return false; |
+} |
+ |
+void ComplexFeature::SetHasParent(bool has_parent) { |
+} |
+ |
std::string ComplexFeature::GetAvailabilityMessage(AvailabilityResult result, |
Manifest::Type type, |
const GURL& url) const { |