]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/linux/include/capi/cef_download_item_capi.h
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / linux / include / capi / cef_download_item_capi.h
similarity index 93%
rename from dependencies64/cef/include/capi/cef_download_item_capi.h
rename to dependencies64/cef/linux/include/capi/cef_download_item_capi.h
index ef5a1575db205c1f90cd40e10571666d49264946..9ed53f6aec3b60124d635b7534eeedc518c4c8e4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2014 Marshall A. Greenblatt. All rights reserved.
+// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
 //
 // Redistribution and use in source and binary forms, with or without
 // modification, are permitted provided that the following conditions are
@@ -52,7 +52,7 @@ typedef struct _cef_download_item_t {
   ///
   // Base structure.
   ///
-  cef_base_t base;
+  cef_base_ref_counted_t base;
 
   ///
   // Returns true (1) if this object is valid. Do not call any other functions
@@ -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.
   ///