aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-download.h
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2011-10-11 08:46:17 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2011-12-21 02:22:20 +0800
commit89c1e042193df2a76eb9aecb2c6b5b25e6e6e1a2 (patch)
tree33edc5ea2ef7b60b2119f064ec913bc0d9bd9344 /embed/ephy-download.h
parent05f455ac484e75dd8596425276ccf190acfc1578 (diff)
downloadgsoc2013-epiphany-89c1e042193df2a76eb9aecb2c6b5b25e6e6e1a2.tar.gz
gsoc2013-epiphany-89c1e042193df2a76eb9aecb2c6b5b25e6e6e1a2.tar.zst
gsoc2013-epiphany-89c1e042193df2a76eb9aecb2c6b5b25e6e6e1a2.zip
e-download: add ephy_download_get_content_type
This new API gets the content-type of a download using GIO, or Soup if GIO is still not available for the download. GIO is our first option since its local guesses are more reliable. Soup can be cheated by servers or confused by still too incomplete downloads. Bug #662059
Diffstat (limited to 'embed/ephy-download.h')
-rw-r--r--embed/ephy-download.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-download.h b/embed/ephy-download.h
index 8c84bbe05..466da4006 100644
--- a/embed/ephy-download.h
+++ b/embed/ephy-download.h
@@ -92,7 +92,7 @@ WebKitDownload *ephy_download_get_webkit_download (EphyDownload *download);
const char *ephy_download_get_destination_uri (EphyDownload *download);
const char *ephy_download_get_source_uri (EphyDownload *download);
-
+char *ephy_download_get_content_type (EphyDownload *download);
guint32 ephy_download_get_start_time (EphyDownload *download);