Index: chrome/common/extensions/features/feature.h |
diff --git a/chrome/common/extensions/features/feature.h b/chrome/common/extensions/features/feature.h |
index e3964b1e28fe6c73b1f8a3040f56f2e851c61c60..6eaa3a3b4f2106e6e74934a01a6c203b66946d06 100644 |
--- a/chrome/common/extensions/features/feature.h |
+++ b/chrome/common/extensions/features/feature.h |
@@ -75,6 +75,7 @@ class Feature { |
private: |
friend class SimpleFeature; |
+ friend class Feature; |
// Instances should be created via Feature::CreateAvailability. |
Availability(AvailabilityResult result, const std::string& message) |
@@ -86,6 +87,10 @@ class Feature { |
virtual ~Feature(); |
+ // Used by ChromeV8Context until the feature system is fully functional. |
+ static Availability CreateAvailability(AvailabilityResult result, |
+ const std::string& message); |
+ |
// Gets the current channel as seen by the Feature system. |
static chrome::VersionInfo::Channel GetCurrentChannel(); |