| Index: chrome/common/extensions/api/downloads.idl
|
| diff --git a/chrome/common/extensions/api/downloads.idl b/chrome/common/extensions/api/downloads.idl
|
| index 95802fc58f8dd848432af247b7d141f3e66570f2..6e8c211084e0371a8b1a8fa9da09283f657ce232 100644
|
| --- a/chrome/common/extensions/api/downloads.idl
|
| +++ b/chrome/common/extensions/api/downloads.idl
|
| @@ -133,9 +133,14 @@ namespace downloads {
|
| long id;
|
|
|
| // Absolute URL.
|
| + // URL that this download started from (before any redirects).
|
| DOMString url;
|
|
|
| // Absolute URL.
|
| + // Actual download URL (final url in chain after all redirects).
|
| + DOMString finalUrl;
|
| +
|
| + // Absolute URL.
|
| DOMString referrer;
|
|
|
| // Absolute local path.
|
| @@ -261,6 +266,10 @@ namespace downloads {
|
| // <code>url</code> matches the given regular expression.
|
| DOMString? urlRegex;
|
|
|
| + // Limits results to $(ref:DownloadItem) whose
|
| + // <code>finalUrl</code> matches the given regular expression.
|
| + DOMString? finalUrlRegex;
|
| +
|
| // The maximum number of matching $(ref:DownloadItem) returned. Defaults to
|
| // 1000. Set to 0 in order to return all matching $(ref:DownloadItem). See
|
| // $(ref:search) for how to page through results.
|
| @@ -277,8 +286,13 @@ namespace downloads {
|
| long? id;
|
|
|
| // Absolute URL.
|
| + // URL that this download started from (before any redirects).
|
| DOMString? url;
|
|
|
| + // Absolute URL.
|
| + // Actual download URL (final url in chain after all redirects).
|
| + DOMString? finalUrl;
|
| +
|
| // Absolute local path.
|
| DOMString? filename;
|
|
|
| @@ -344,6 +358,9 @@ namespace downloads {
|
| // The change in <code>url</code>, if any.
|
| StringDelta? url;
|
|
|
| + // The change in <code>finalUrl</code>, if any.
|
| + StringDelta? finalUrl;
|
| +
|
| // The change in <code>filename</code>, if any.
|
| StringDelta? filename;
|
|
|
|
|