summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api/extension_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/api/extension_api.h')
-rw-r--r--chrome/common/extensions/api/extension_api.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/common/extensions/api/extension_api.h b/chrome/common/extensions/api/extension_api.h
index 128129e..b74bdcc 100644
--- a/chrome/common/extensions/api/extension_api.h
+++ b/chrome/common/extensions/api/extension_api.h
@@ -88,11 +88,9 @@ 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.
- std::set<std::string> GetAPIsForContext(
+ scoped_ptr<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.
@@ -160,8 +158,7 @@ class ExtensionAPI : public FeatureProvider {
// Map from each API that hasn't been loaded yet to the schema which defines
// it. Note that there may be multiple APIs per schema.
- typedef std::map<std::string, base::StringPiece> UnloadedSchemaMap;
- UnloadedSchemaMap unloaded_schemas_;
+ std::map<std::string, base::StringPiece> unloaded_schemas_;
// Schemas for each namespace.
typedef std::map<std::string, linked_ptr<const DictionaryValue> > SchemaMap;