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:
Marshall Greenblatt
2015-01-12 20:46:31 +00:00
parent 04e072ca40
commit a2d690a9bd
6 changed files with 22 additions and 22 deletions

View File

@@ -35,7 +35,7 @@ void CefURLRequestClientCToCpp::OnRequestComplete(
}
void CefURLRequestClientCToCpp::OnUploadProgress(
CefRefPtr<CefURLRequest> request, uint64 current, uint64 total) {
CefRefPtr<CefURLRequest> request, int64 current, int64 total) {
if (CEF_MEMBER_MISSING(struct_, on_upload_progress))
return;
@@ -54,7 +54,7 @@ void CefURLRequestClientCToCpp::OnUploadProgress(
}
void CefURLRequestClientCToCpp::OnDownloadProgress(
CefRefPtr<CefURLRequest> request, uint64 current, uint64 total) {
CefRefPtr<CefURLRequest> request, int64 current, int64 total) {
if (CEF_MEMBER_MISSING(struct_, on_download_progress))
return;

View File

@@ -34,10 +34,10 @@ class CefURLRequestClientCToCpp
// CefURLRequestClient methods
void OnRequestComplete(CefRefPtr<CefURLRequest> request) override;
void OnUploadProgress(CefRefPtr<CefURLRequest> request, uint64 current,
uint64 total) override;
void OnDownloadProgress(CefRefPtr<CefURLRequest> request, uint64 current,
uint64 total) override;
void OnUploadProgress(CefRefPtr<CefURLRequest> request, int64 current,
int64 total) override;
void OnDownloadProgress(CefRefPtr<CefURLRequest> request, int64 current,
int64 total) override;
void OnDownloadData(CefRefPtr<CefURLRequest> request, const void* data,
size_t data_length) override;
bool GetAuthCredentials(bool isProxy, const CefString& host, int port,