mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Return CefTime instead of time_t from CefZipReader::GetFileLastModified (issue #1625)
This commit is contained in:
@@ -130,15 +130,15 @@ int64 CefZipReaderCToCpp::GetFileSize() {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
time_t CefZipReaderCToCpp::GetFileLastModified() {
|
||||
CefTime CefZipReaderCToCpp::GetFileLastModified() {
|
||||
cef_zip_reader_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_last_modified))
|
||||
return 0;
|
||||
return CefTime();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
time_t _retval = _struct->get_file_last_modified(_struct);
|
||||
cef_time_t _retval = _struct->get_file_last_modified(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -36,7 +36,7 @@ class CefZipReaderCToCpp
|
||||
bool Close() OVERRIDE;
|
||||
CefString GetFileName() OVERRIDE;
|
||||
int64 GetFileSize() OVERRIDE;
|
||||
time_t GetFileLastModified() OVERRIDE;
|
||||
CefTime GetFileLastModified() OVERRIDE;
|
||||
bool OpenFile(const CefString& password) OVERRIDE;
|
||||
bool CloseFile() OVERRIDE;
|
||||
int ReadFile(void* buffer, size_t bufferSize) OVERRIDE;
|
||||
|
Reference in New Issue
Block a user