Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: net/base/net_log_event_type_list.h

Issue 10915180: Make DownloadHistory observe manager, items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @r166680 Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/net_log_event_type_list.h
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index 2bdbae325006ad6a56407d417be735a8943a504b..7d79194f28146edd17b944388b9e0c8a18d9baad 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -1555,6 +1555,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
@@ -1565,13 +1567,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>,
« chrome/browser/history/history.h ('K') | « content/shell/shell_download_manager_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698