diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-02-29 21:18:50 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-02-29 21:18:50 +0800 |
commit | e384714845c1bd7a98dc2a3652a7192423e96bb6 (patch) | |
tree | 29f6beab8fb79f3d53de2edee6a7f2c4ede164ed /embed/mozilla/MozDownload.cpp | |
parent | 9f0b13d2450440eb4fdb8944f749448471d98c17 (diff) | |
download | gsoc2013-epiphany-e384714845c1bd7a98dc2a3652a7192423e96bb6.tar gsoc2013-epiphany-e384714845c1bd7a98dc2a3652a7192423e96bb6.tar.gz gsoc2013-epiphany-e384714845c1bd7a98dc2a3652a7192423e96bb6.tar.bz2 gsoc2013-epiphany-e384714845c1bd7a98dc2a3652a7192423e96bb6.tar.lz gsoc2013-epiphany-e384714845c1bd7a98dc2a3652a7192423e96bb6.tar.xz gsoc2013-epiphany-e384714845c1bd7a98dc2a3652a7192423e96bb6.tar.zst gsoc2013-epiphany-e384714845c1bd7a98dc2a3652a7192423e96bb6.zip |
Add debug output.
2004-02-29 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/MozDownload.cpp: (MozDownload), (~MozDownload):
Add debug output.
Diffstat (limited to 'embed/mozilla/MozDownload.cpp')
-rw-r--r-- | embed/mozilla/MozDownload.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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) { |