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:
@ -445,15 +445,15 @@ class RequestClient : public CefURLRequestClient {
|
||||
}
|
||||
|
||||
void OnUploadProgress(CefRefPtr<CefURLRequest> request,
|
||||
uint64 current,
|
||||
uint64 total) override {
|
||||
int64 current,
|
||||
int64 total) override {
|
||||
upload_progress_ct_++;
|
||||
upload_total_ = total;
|
||||
}
|
||||
|
||||
void OnDownloadProgress(CefRefPtr<CefURLRequest> request,
|
||||
uint64 current,
|
||||
uint64 total) override {
|
||||
int64 current,
|
||||
int64 total) override {
|
||||
response_ = request->GetResponse();
|
||||
EXPECT_TRUE(response_.get());
|
||||
EXPECT_TRUE(response_->IsReadOnly());
|
||||
@ -1120,14 +1120,14 @@ class InvalidURLTestClient : public CefURLRequestClient {
|
||||
}
|
||||
|
||||
void OnUploadProgress(CefRefPtr<CefURLRequest> request,
|
||||
uint64 current,
|
||||
uint64 total) override {
|
||||
int64 current,
|
||||
int64 total) override {
|
||||
EXPECT_TRUE(false); // Not reached.
|
||||
}
|
||||
|
||||
void OnDownloadProgress(CefRefPtr<CefURLRequest> request,
|
||||
uint64 current,
|
||||
uint64 total) override {
|
||||
int64 current,
|
||||
int64 total) override {
|
||||
EXPECT_TRUE(false); // Not reached.
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user