Index: chrome/common/extensions/api/extension_api.h |
diff --git a/chrome/common/extensions/api/extension_api.h b/chrome/common/extensions/api/extension_api.h |
index b74bdccdb90b0057d2d3354a001b716029ce0ef7..6e33f8bd7c3e760b4d3869a05fe95cde8393bedc 100644 |
--- a/chrome/common/extensions/api/extension_api.h |
+++ b/chrome/common/extensions/api/extension_api.h |
@@ -88,9 +88,11 @@ class ExtensionAPI : public FeatureProvider { |
// Gets the APIs available to |context| given an |extension| and |url|. The |
// extension or URL may not be relevant to all contexts, and may be left |
// NULL/empty. |
- scoped_ptr<std::set<std::string> > GetAPIsForContext( |
+ std::set<std::string> GetAPIsForContext( |
Feature::Context context, const Extension* extension, const GURL& url); |
+ std::set<std::string> GetAllAPINames(); |
+ |
// Gets a Feature object describing the API with the specified |full_name|. |
// This can be either an API namespace (like history, or |
// experimental.bookmarks), or it can be an individual function or event. |