OLD | NEW |
---|---|
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex t that sent a message or request.", | 9 "description": "An object containing information about the script contex t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 6037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6048 "description": "Fired when browser terminates debugging session for the tab.", | 6048 "description": "Fired when browser terminates debugging session for the tab.", |
6049 "parameters": [ | 6049 "parameters": [ |
6050 { | 6050 { |
6051 "type": "integer", | 6051 "type": "integer", |
6052 "name": "tabId", | 6052 "name": "tabId", |
6053 "description": "The id of the tab that was detached." | 6053 "description": "The id of the tab that was detached." |
6054 } | 6054 } |
6055 ] | 6055 ] |
6056 } | 6056 } |
6057 ] | 6057 ] |
6058 }, | |
6059 { | |
6060 "namespace": "chromeAuthPrivate", | |
6061 "nodoc": "true", | |
6062 "functions": [ | |
6063 { | |
6064 "name": "setCloudPrintCredentials", | |
6065 "description": "Sets the login credentials for Cloud Print.", | |
6066 "type": "function", | |
6067 "parameters": [ | |
6068 { | |
6069 "name": "userEmail", | |
6070 "type": "string", | |
6071 "description": "The email address of the user." | |
6072 }, | |
6073 { | |
6074 "name": "robotEmail", | |
6075 "type": "string", | |
6076 "description": "The email address of the robot account." | |
6077 }, | |
6078 { | |
6079 "name": "credentials", | |
6080 "type": "string", | |
6081 "description": "The login credentials(OAuth2 Auth code)." | |
6082 }, | |
6083 { | |
6084 "name": "callback", | |
6085 "type": "function", | |
6086 "description": "Called when the operation has completed.", | |
6087 "optional": "true", | |
6088 "parameters": [ | |
6089 { | |
6090 "name": "result", | |
6091 "type": "string", | |
6092 "description": "A string result code, which will be empty upon s uccess." | |
Matt Perry
2011/06/24 19:11:09
if you make this optional, you can just omit it wh
sanjeevr
2011/06/24 22:38:48
You mean make the result argument optional?
Matt Perry
2011/06/24 22:44:29
right
sanjeevr
2011/06/24 23:05:26
Done.
| |
6093 } | |
6094 ] | |
6095 } | |
6096 ] | |
6097 } | |
6098 ] | |
6058 } | 6099 } |
6059 ] | 6100 ] |
OLD | NEW |