| Index: chrome/browser/download/download_item_model.cc
|
| diff --git a/chrome/browser/download/download_item_model.cc b/chrome/browser/download/download_item_model.cc
|
| index 3269a5ca5c012a693f99c327103490b98d95920a..feaced0c2728f9c8f8cc2a48e6808a1dce11b1b1 100644
|
| --- a/chrome/browser/download/download_item_model.cc
|
| +++ b/chrome/browser/download/download_item_model.cc
|
| @@ -94,7 +94,7 @@ int DownloadItemModel::PercentComplete() const {
|
| // For Drive uploads, progress is based on the number of bytes
|
| // uploaded. Progress is unknown until the upload starts.
|
| if (IsDriveDownload())
|
| - return gdata::DriveDownloadObserver::PercentComplete(download_);
|
| + return drive::DriveDownloadObserver::PercentComplete(download_);
|
| #endif
|
| return download_->PercentComplete();
|
| }
|
| @@ -185,14 +185,14 @@ int64 DownloadItemModel::GetCompletedBytes() const {
|
| #if defined(OS_CHROMEOS)
|
| // For Drive downloads, the size is the count of bytes uploaded.
|
| if (IsDriveDownload())
|
| - return gdata::DriveDownloadObserver::GetUploadedBytes(download_);
|
| + return drive::DriveDownloadObserver::GetUploadedBytes(download_);
|
| #endif
|
| return download_->GetReceivedBytes();
|
| }
|
|
|
| bool DownloadItemModel::IsDriveDownload() const {
|
| #if defined(OS_CHROMEOS)
|
| - return gdata::DriveDownloadObserver::IsDriveDownload(download_);
|
| + return drive::DriveDownloadObserver::IsDriveDownload(download_);
|
| #else
|
| return false;
|
| #endif
|
|
|