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

@ -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.
}