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

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: . Created 8 years, 3 months 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 755407a1976cdac8b9b2985104ed5cdffabc4c04..999865d4f20ac600f44b093c54cdea3f8223a78c 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -1536,6 +1536,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
@@ -1546,13 +1548,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>,

Powered by Google App Engine
This is Rietveld 408576698