mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefBaseTime and use it instead of CefTime (see issue #2935)
This commit is contained in:
committed by
Marshall Greenblatt
parent
987b932a19
commit
27d3089804
@@ -33,7 +33,7 @@
|
||||
// by hand. See the translator.README.txt file in the tools directory for
|
||||
// more information.
|
||||
//
|
||||
// $hash=b9f0d91dd2fdb3625365ff8b332b08e1f0ea1187$
|
||||
// $hash=1c1dd82539e356f15be95b66d824740075c48e4f$
|
||||
//
|
||||
|
||||
#ifndef CEF_INCLUDE_CAPI_CEF_DOWNLOAD_ITEM_CAPI_H_
|
||||
@@ -100,12 +100,13 @@ typedef struct _cef_download_item_t {
|
||||
///
|
||||
// Returns the time that the download started.
|
||||
///
|
||||
cef_time_t(CEF_CALLBACK* get_start_time)(struct _cef_download_item_t* self);
|
||||
cef_basetime_t(CEF_CALLBACK* get_start_time)(
|
||||
struct _cef_download_item_t* self);
|
||||
|
||||
///
|
||||
// Returns the time that the download ended.
|
||||
///
|
||||
cef_time_t(CEF_CALLBACK* get_end_time)(struct _cef_download_item_t* self);
|
||||
cef_basetime_t(CEF_CALLBACK* get_end_time)(struct _cef_download_item_t* self);
|
||||
|
||||
///
|
||||
// Returns the full path to the downloaded or downloading file.
|
||||
|
@@ -33,7 +33,7 @@
|
||||
// by hand. See the translator.README.txt file in the tools directory for
|
||||
// more information.
|
||||
//
|
||||
// $hash=3a7dd4a6a1b5e0d9191be6c4dd2f0135f43de643$
|
||||
// $hash=6f617dd09dc2abc0c2c7534db2b045aebb595f09$
|
||||
//
|
||||
|
||||
#ifndef CEF_INCLUDE_CAPI_CEF_NAVIGATION_ENTRY_CAPI_H_
|
||||
@@ -108,7 +108,7 @@ typedef struct _cef_navigation_entry_t {
|
||||
// navigation may be completed more than once if the page is reloaded. May be
|
||||
// 0 if the navigation has not yet completed.
|
||||
///
|
||||
cef_time_t(CEF_CALLBACK* get_completion_time)(
|
||||
cef_basetime_t(CEF_CALLBACK* get_completion_time)(
|
||||
struct _cef_navigation_entry_t* self);
|
||||
|
||||
///
|
||||
|
@@ -33,7 +33,7 @@
|
||||
// by hand. See the translator.README.txt file in the tools directory for
|
||||
// more information.
|
||||
//
|
||||
// $hash=b7dd2429f492a8f2dd978f9500c63dd0e01035d4$
|
||||
// $hash=a9050cf4af9b9790088ec4d419775eec083aef4c$
|
||||
//
|
||||
|
||||
#ifndef CEF_INCLUDE_CAPI_CEF_V8_CAPI_H_
|
||||
@@ -484,7 +484,7 @@ typedef struct _cef_v8value_t {
|
||||
///
|
||||
// Return a Date value.
|
||||
///
|
||||
cef_time_t(CEF_CALLBACK* get_date_value)(struct _cef_v8value_t* self);
|
||||
cef_basetime_t(CEF_CALLBACK* get_date_value)(struct _cef_v8value_t* self);
|
||||
|
||||
///
|
||||
// Return a string value.
|
||||
@@ -766,7 +766,7 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_double(double value);
|
||||
// cef_v8handler_t or cef_v8accessor_t callback, or in combination with calling
|
||||
// enter() and exit() on a stored cef_v8context_t reference.
|
||||
///
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_date(const cef_time_t* date);
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_date(cef_basetime_t date);
|
||||
|
||||
///
|
||||
// Create a new cef_v8value_t object of type string.
|
||||
|
@@ -33,7 +33,7 @@
|
||||
// by hand. See the translator.README.txt file in the tools directory for
|
||||
// more information.
|
||||
//
|
||||
// $hash=32b942f6b50b842ddec08addc2b5794f2a272dbe$
|
||||
// $hash=744c34b8608d3678f0a3522ff77f184611a29bf2$
|
||||
//
|
||||
|
||||
#ifndef CEF_INCLUDE_CAPI_CEF_X509_CERTIFICATE_CAPI_H_
|
||||
@@ -154,16 +154,16 @@ typedef struct _cef_x509certificate_t {
|
||||
|
||||
///
|
||||
// Returns the date before which the X.509 certificate is invalid.
|
||||
// CefTime.GetTimeT() will return 0 if no date was specified.
|
||||
// CefBaseTime.GetTimeT() will return 0 if no date was specified.
|
||||
///
|
||||
cef_time_t(CEF_CALLBACK* get_valid_start)(
|
||||
cef_basetime_t(CEF_CALLBACK* get_valid_start)(
|
||||
struct _cef_x509certificate_t* self);
|
||||
|
||||
///
|
||||
// Returns the date after which the X.509 certificate is invalid.
|
||||
// CefTime.GetTimeT() will return 0 if no date was specified.
|
||||
// CefBaseTime.GetTimeT() will return 0 if no date was specified.
|
||||
///
|
||||
cef_time_t(CEF_CALLBACK* get_valid_expiry)(
|
||||
cef_basetime_t(CEF_CALLBACK* get_valid_expiry)(
|
||||
struct _cef_x509certificate_t* self);
|
||||
|
||||
///
|
||||
|
@@ -33,7 +33,7 @@
|
||||
// by hand. See the translator.README.txt file in the tools directory for
|
||||
// more information.
|
||||
//
|
||||
// $hash=ac91bcd40e1439ee1e742cc47989530b112c99bd$
|
||||
// $hash=e16856adecfe81b59b513568b5dcadc851ff07ab$
|
||||
//
|
||||
|
||||
#ifndef CEF_INCLUDE_CAPI_CEF_ZIP_READER_CAPI_H_
|
||||
@@ -102,7 +102,7 @@ typedef struct _cef_zip_reader_t {
|
||||
///
|
||||
// Returns the last modified timestamp for the file.
|
||||
///
|
||||
cef_time_t(CEF_CALLBACK* get_file_last_modified)(
|
||||
cef_basetime_t(CEF_CALLBACK* get_file_last_modified)(
|
||||
struct _cef_zip_reader_t* self);
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user