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

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: @r168573 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 bbbbcdc769216c82b35aa7697638e2b3cc60d499..d564e088a742c03aaf1edf0673f4b8c8b0e5bb16 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>,

Powered by Google App Engine
This is Rietveld 408576698