Add CefBaseTime and use it instead of CefTime (see issue #2935)

This commit is contained in:
Dmitry Azaraev
2022-05-31 23:28:43 +03:00
committed by Marshall Greenblatt
parent 987b932a19
commit 27d3089804
58 changed files with 502 additions and 228 deletions

View File

@@ -59,18 +59,14 @@ int64 CefDownloadItemImpl::GetReceivedBytes() {
return const_value().GetReceivedBytes();
}
CefTime CefDownloadItemImpl::GetStartTime() {
CefTime time;
CEF_VALUE_VERIFY_RETURN(false, time);
cef_time_from_basetime(const_value().GetStartTime(), time);
return time;
CefBaseTime CefDownloadItemImpl::GetStartTime() {
CEF_VALUE_VERIFY_RETURN(false, CefBaseTime());
return const_value().GetStartTime();
}
CefTime CefDownloadItemImpl::GetEndTime() {
CefTime time;
CEF_VALUE_VERIFY_RETURN(false, time);
cef_time_from_basetime(const_value().GetEndTime(), time);
return time;
CefBaseTime CefDownloadItemImpl::GetEndTime() {
CEF_VALUE_VERIFY_RETURN(false, CefBaseTime());
return const_value().GetEndTime();
}
CefString CefDownloadItemImpl::GetFullPath() {