Index: chrome/renderer/extensions/api_definitions_natives.h |
diff --git a/chrome/renderer/extensions/api_definitions_natives.h b/chrome/renderer/extensions/api_definitions_natives.h |
index 48a9abe874e608a8294d485f5ab17dc9d7abd350..269728bb1e7352ebf745cf08aedaef297ffb8ca6 100644 |
--- a/chrome/renderer/extensions/api_definitions_natives.h |
+++ b/chrome/renderer/extensions/api_definitions_natives.h |
@@ -19,8 +19,9 @@ class ApiDefinitionsNatives : public ChromeV8Extension { |
explicit ApiDefinitionsNatives(ExtensionDispatcher* extension_dispatcher); |
private: |
- // Takes no arguments and returns the list of schemas that are available to |
- // the calling context. |
+ // Returns the list of schemas that are available to the calling context |
+ // and have their names listed in |args|. If |args| is empty, returns the list |
+ // of all schemas that are available to the calling context. |
v8::Handle<v8::Value> GetExtensionAPIDefinition(const v8::Arguments& args); |
DISALLOW_COPY_AND_ASSIGN(ApiDefinitionsNatives); |