mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Use int64 instead of uint64 for CefURLRequestClient progress notifications (issue #1202).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1968 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -146,7 +146,7 @@ typedef struct _cef_urlrequest_client_t {
|
||||
// UR_FLAG_REPORT_UPLOAD_PROGRESS flag is set on the request.
|
||||
///
|
||||
void (CEF_CALLBACK *on_upload_progress)(struct _cef_urlrequest_client_t* self,
|
||||
struct _cef_urlrequest_t* request, uint64 current, uint64 total);
|
||||
struct _cef_urlrequest_t* request, int64 current, int64 total);
|
||||
|
||||
///
|
||||
// Notifies the client of download progress. |current| denotes the number of
|
||||
@@ -155,7 +155,7 @@ typedef struct _cef_urlrequest_client_t {
|
||||
///
|
||||
void (CEF_CALLBACK *on_download_progress)(
|
||||
struct _cef_urlrequest_client_t* self, struct _cef_urlrequest_t* request,
|
||||
uint64 current, uint64 total);
|
||||
int64 current, int64 total);
|
||||
|
||||
///
|
||||
// Called when some part of the response is read. |data| contains the current
|
||||
|
@@ -140,8 +140,8 @@ class CefURLRequestClient : public virtual CefBase {
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnUploadProgress(CefRefPtr<CefURLRequest> request,
|
||||
uint64 current,
|
||||
uint64 total) =0;
|
||||
int64 current,
|
||||
int64 total) =0;
|
||||
|
||||
///
|
||||
// Notifies the client of download progress. |current| denotes the number of
|
||||
@@ -150,8 +150,8 @@ class CefURLRequestClient : public virtual CefBase {
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnDownloadProgress(CefRefPtr<CefURLRequest> request,
|
||||
uint64 current,
|
||||
uint64 total) =0;
|
||||
int64 current,
|
||||
int64 total) =0;
|
||||
|
||||
///
|
||||
// Called when some part of the response is read. |data| contains the current
|
||||
|
Reference in New Issue
Block a user