| Index: chrome/common/extensions/api/extension_api.h
|
| ===================================================================
|
| --- chrome/common/extensions/api/extension_api.h (revision 184858)
|
| +++ chrome/common/extensions/api/extension_api.h (working copy)
|
| @@ -88,11 +88,9 @@
|
| // 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 @@
|
|
|
| // 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;
|
|
|