Index: extensions/common/extension_api.h |
diff --git a/extensions/common/extension_api.h b/extensions/common/extension_api.h |
index 8ce02454877500b2cf6196e2bbbaed277d7fef38..d03c3390ff6a58c8655ba34dbfb2db7ad992bd26 100644 |
--- a/extensions/common/extension_api.h |
+++ b/extensions/common/extension_api.h |
@@ -109,8 +109,8 @@ class ExtensionAPI { |
bool IsAvailableInUntrustedContext(const std::string& name, |
const Extension* extension); |
- // Returns true if |name| is available to webui contexts. |
- bool IsAvailableToWebUI(const std::string& name); |
+ // Returns true if |name| is available to WebUI contexts on |url|. |
+ bool IsAvailableToWebUI(const std::string& name, const GURL& url); |
// Gets the schema for the extension API with namespace |full_name|. |
// Ownership remains with this object. |