Bug 380250 - Convert Download Manager's RDF backend to mozStorage. r=cbiesinger,r=mconnor

This commit is contained in:
sdwilsh@shawnwilsher.com 2007-08-13 18:12:17 -07:00
Родитель 1ec170893e
Коммит 2872977183
1 изменённых файлов: 13 добавлений и 2 удалений

Просмотреть файл

@ -45,7 +45,7 @@ interface nsICancelable;
interface nsIWebProgressListener; interface nsIWebProgressListener;
interface nsIMIMEInfo; interface nsIMIMEInfo;
[scriptable, uuid(07910093-d70b-4621-9888-b811f42293c3)] [scriptable, uuid(974db2c6-fbd2-4de1-8d24-f54ce4f3e8bc)]
interface nsIDownload : nsITransfer { interface nsIDownload : nsITransfer {
/** /**
@ -89,7 +89,7 @@ interface nsIDownload : nsITransfer {
/** /**
* The user-readable description of the transfer. * The user-readable description of the transfer.
*/ */
readonly attribute wstring displayName; readonly attribute AString displayName;
/** /**
* The time a transfer was started. * The time a transfer was started.
@ -107,6 +107,17 @@ interface nsIDownload : nsITransfer {
* executed. * executed.
*/ */
readonly attribute nsIMIMEInfo MIMEInfo; readonly attribute nsIMIMEInfo MIMEInfo;
/**
* The id of the download that is stored in the database.
*/
readonly attribute unsigned long id;
/**
* The state of the download.
* @see nsIDownloadManager and nsIXPInstallManagerUI
*/
readonly attribute short state;
}; };
%{C++ %{C++