diff options
author | benjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-20 00:52:08 +0000 |
---|---|---|
committer | benjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-20 00:52:08 +0000 |
commit | 3d95e54652070dacfdb9188c3f6f48111bcc007e (patch) | |
tree | 7ad31f4dbdb170fc30cc00ce2b31d76ce146799d /net | |
parent | 8b9d8f76949307b91f6399d452e41de59f2cbce6 (diff) | |
download | chromium_src-3d95e54652070dacfdb9188c3f6f48111bcc007e.zip chromium_src-3d95e54652070dacfdb9188c3f6f48111bcc007e.tar.gz chromium_src-3d95e54652070dacfdb9188c3f6f48111bcc007e.tar.bz2 |
Make DownloadHistory observe manager, items
Rip out half of DownloadManagerDelegate.
Make DownloadManager create persisted DownloadItems one at a time and return them to DownloadHistory.
Move DownloadPersistentStoreInfo from content to chrome.
Kill DownloadDatabase::CheckThread(). (Leftover from 85408.)
Change DownloadDatabase::RemoveDownloads() to take an explicit set of db_handles.
Merge DownloadDatabase::UpdateDownload[Path]().
After this CL, I'll send out another one to remove the usage of CancelableRequest from the downloads-specific HistoryService APIs.
BUG=154309
Review URL: https://chromiumcodereview.appspot.com/10915180
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168670 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/net_log_event_type_list.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h index bbbbcdc..d564e08 100644 --- a/net/base/net_log_event_type_list.h +++ b/net/base/net_log_event_type_list.h @@ -1560,6 +1560,8 @@ EVENT_TYPE(DOWNLOAD_URL_REQUEST) // } // The END event will occur when the download is interrupted, canceled or // completed. +// DownloadItems that are loaded from history and are never active simply ADD +// one of these events. EVENT_TYPE(DOWNLOAD_ITEM_ACTIVE) // This event is created when a download item has been checked by the @@ -1570,13 +1572,6 @@ EVENT_TYPE(DOWNLOAD_ITEM_ACTIVE) // } EVENT_TYPE(DOWNLOAD_ITEM_SAFETY_STATE_UPDATED) -// This event is created when a download item has been inserted into the -// history database. -// { -// "db_handle": <The database handle for the item>, -// } -EVENT_TYPE(DOWNLOAD_ITEM_IN_HISTORY) - // This event is created when a download item is updated. // { // "bytes_so_far": <Number of bytes received>, |