Index: extensions/common/extension_api.h |
diff --git a/extensions/common/extension_api.h b/extensions/common/extension_api.h |
index 024f594bb3a7e536064711da45abdb2388b36c39..cbe540584dfcbaa34042a1a086c03b5cb0b3760c 100644 |
--- a/extensions/common/extension_api.h |
+++ b/extensions/common/extension_api.h |
@@ -65,8 +65,12 @@ class ExtensionAPI { |
void RegisterDependencyProvider(const std::string& name, |
FeatureProvider* provider); |
- // Returns true if the specified API is available. Returns true if the feature |
- // and all of its dependencies are available to the specified context. |
+ // Returns true if the API feature |api| and all of its dependencies are |
+ // available in |context|. |
+ // |
+ // Depending on the configuration of |api|, either |extension| or |url| (or |
+ // both) may determine its availability, but this is up to the configuration |
+ // of the individual feature. |
Jeffrey Yasskin
2014/01/09 01:30:01
'k, not for this CL, but it's pretty hard to find
not at google - send to devlin
2014/01/09 18:06:49
might as well mention it.
|
Feature::Availability IsAvailable(const Feature& api, |
const Extension* extension, |
Feature::Context context, |