Add CefDownloadItem::GetOriginalUrl method (issue #1201).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1976 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2015-01-20 22:48:32 +00:00
parent 8a35083b8f
commit c71cae325f
7 changed files with 51 additions and 0 deletions

View File

@@ -125,6 +125,13 @@ typedef struct _cef_download_item_t {
cef_string_userfree_t (CEF_CALLBACK *get_url)(
struct _cef_download_item_t* self);
///
// Returns the original URL before any redirections.
///
// The resulting string must be freed by calling cef_string_userfree_free().
cef_string_userfree_t (CEF_CALLBACK *get_original_url)(
struct _cef_download_item_t* self);
///
// Returns the suggested file name.
///