Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6171)

Unified Diff: chrome/common/extensions/api/extension_api.h

Issue 11571014: Lazy load chrome.* APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4013768ff20df11ee13ef035474e80bdf3fbc201 100644
--- a/chrome/common/extensions/api/extension_api.h
+++ b/chrome/common/extensions/api/extension_api.h
@@ -91,6 +91,8 @@ class ExtensionAPI : public FeatureProvider {
scoped_ptr<std::set<std::string> > GetAPIsForContext(
Feature::Context context, const Extension* extension, const GURL& url);
+ scoped_ptr<std::set<std::string> > GetAllAPINames();
not at google - send to devlin 2012/12/13 22:26:40 just return a std::set<std::string>, the GetAPIsFo
cduvall 2012/12/14 00:25:18 Done.
+
// 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.

Powered by Google App Engine
This is Rietveld 408576698