aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/MozDownload.cpp6
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c806a0d0..5b81ee4d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-29 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/MozDownload.cpp: (MozDownload), (~MozDownload):
+
+ Add debug output.
+
2004-02-29 Marco Pesenti Gritti <marco@gnome.org>
* embed/mozilla/MozDownload.cpp:
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index c59d72b33..188169a47 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -50,6 +50,8 @@
#include "eel-gconf-extensions.h"
#include "ephy-prefs.h"
#include "ephy-file-helpers.h"
+#include "ephy-debug.h"
+
#include <libgnomevfs/gnome-vfs-utils.h>
#include <glib/gi18n.h>
@@ -68,10 +70,12 @@ MozDownload::MozDownload() :
mEmbedPersist(nsnull),
mDownloadState(EPHY_DOWNLOAD_DOWNLOADING)
{
+ LOG ("MozDownload ctor (%p)", (void *) this)
}
MozDownload::~MozDownload()
{
+ LOG ("MozDownload dtor (%p)", (void *) this)
}
NS_IMPL_ISUPPORTS2(MozDownload, nsIDownload, nsIWebProgressListener)
@@ -272,7 +276,7 @@ MozDownload::OnStateChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest,
if (NS_FAILED(aStatus) && NS_SUCCEEDED(mStatus))
mStatus = aStatus;
-
+
/* We will get this even in the event of a cancel */
if (aStateFlags & STATE_STOP)
{