diff options
author | benjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-14 19:31:44 +0000 |
---|---|---|
committer | benjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-14 19:31:44 +0000 |
commit | 370e950844015d8a97786de2a271df85653c0da8 (patch) | |
tree | 089c3c7f44f2c6ced0d9ab00217f662cfd6b2e1e /content | |
parent | 3907848d9a7febf2ce8ce1c9e8113947387f7556 (diff) | |
download | chromium_src-370e950844015d8a97786de2a271df85653c0da8.zip chromium_src-370e950844015d8a97786de2a271df85653c0da8.tar.gz chromium_src-370e950844015d8a97786de2a271df85653c0da8.tar.bz2 |
chrome.experimental.downloads.onCreated, onErased
Manually tested. No apitest yet because that's in 7647028. If this CL goes in before that one, then I'll add tests for these events in that CL, otherwise in this CL at that time.
Who owns what:
Randy: DownloadItem
Mihai: chrome/browser/extensions/...
Randy, Asanka, I also appreciate having your eyes on extensions/... if you have the time to make sure that I'm using the downloads/ interfaces correctly and matching the doc.
Review URL: http://codereview.chromium.org/7645029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/download/download_item.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/download/download_item.h b/content/browser/download/download_item.h index e9f7d1d..07c43fe 100644 --- a/content/browser/download/download_item.h +++ b/content/browser/download/download_item.h @@ -301,6 +301,8 @@ class CONTENT_EXPORT DownloadItem { void set_opened(bool opened) { opened_ = opened; } bool opened() const { return opened_; } + net::Error last_error() const { return last_error_; } + DownloadPersistentStoreInfo GetPersistentStoreInfo() const; DownloadStateInfo state_info() const { return state_info_; } const DownloadRequestHandle& request_handle() const { |