Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1155)

Unified Diff: chrome/browser/download/download_item_model.cc

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/download/download_file_picker_chromeos.cc ('k') | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/download/download_file_picker_chromeos.cc ('k') | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698