summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api
diff options
context:
space:
mode:
authorbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 14:43:49 +0000
committerbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 14:43:49 +0000
commit8268c04853700c0cb5a307832160c35148a27ee7 (patch)
tree851f2badf5217987080edf9f787bc5a9c14f845f /chrome/common/extensions/api
parentbfda4f55dd00f1992309a1e3f5ab887987ac7c1f (diff)
downloadchromium_src-8268c04853700c0cb5a307832160c35148a27ee7.zip
chromium_src-8268c04853700c0cb5a307832160c35148a27ee7.tar.gz
chromium_src-8268c04853700c0cb5a307832160c35148a27ee7.tar.bz2
Implemented statusLine field in extraInfoSpec of webRequest API
BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6928057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api')
-rw-r--r--chrome/common/extensions/api/extension_api.json9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 7db6f2c..a1c4834 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -3751,7 +3751,8 @@
"url": {"type": "string"},
"statusCode": {"type": "integer", "description": "Standard HTTP status code returned by the server."},
"timeStamp": {"type": "number", "description": "The time when the status line and response headers were received, in milliseconds since the epoch."},
- "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "description": "The HTTP response headers that were received along with this response."}
+ "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "description": "The HTTP response headers that were received along with this response."},
+ "statusLine": {"type": "string", "optional": true, "description": "HTTP status line of the response"}
}
}
],
@@ -3788,7 +3789,8 @@
"statusCode": {"type": "integer", "description": "Standard HTTP status code returned by the server."},
"redirectUrl": {"type": "string", "description": "The new URL."},
"timeStamp": {"type": "number", "description": "The time when the browser was about to make the redirect, in milliseconds since the epoch."},
- "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "description": "The HTTP response headers that were received along with this redirect."}
+ "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "description": "The HTTP response headers that were received along with this redirect."},
+ "statusLine": {"type": "string", "optional": true, "description": "HTTP status line of the response"}
}
}
],
@@ -3824,7 +3826,8 @@
"url": {"type": "string", "description": "The URL of the current request."},
"statusCode": {"type": "integer", "description": "Standard HTTP status code returned by the server."},
"timeStamp": {"type": "number", "description": "The time when the response was received completely, in milliseconds since the epoch."},
- "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "description": "The HTTP response headers that were received along with this response."}
+ "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "description": "The HTTP response headers that were received along with this response."},
+ "statusLine": {"type": "string", "optional": true, "description": "HTTP status line of the response"}
}
}
],