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

Unified Diff: chrome/browser/download/download_file_picker_chromeos.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
Index: chrome/browser/download/download_file_picker_chromeos.cc
diff --git a/chrome/browser/download/download_file_picker_chromeos.cc b/chrome/browser/download/download_file_picker_chromeos.cc
index 4a94cf1d7b7b6c1d4d08a768660b409a6fea0a7d..b9d9f7f787adef07d5d1164bdca53e7b7d327b31 100644
--- a/chrome/browser/download/download_file_picker_chromeos.cc
+++ b/chrome/browser/download/download_file_picker_chromeos.cc
@@ -25,9 +25,9 @@ void DownloadFilePickerChromeOS::InitSuggestedPath(DownloadItem* item,
const FilePath& path) {
// For Drive downloads, |path| is the virtual gdata path instead of the
// temporary local one.
- if (gdata::DriveDownloadObserver::IsDriveDownload(item)) {
- set_suggested_path(gdata::util::GetSpecialRemoteRootPath().Append(
- gdata::DriveDownloadObserver::GetDrivePath(item)));
+ if (drive::DriveDownloadObserver::IsDriveDownload(item)) {
+ set_suggested_path(drive::util::GetSpecialRemoteRootPath().Append(
+ drive::DriveDownloadObserver::GetDrivePath(item)));
} else {
DownloadFilePicker::InitSuggestedPath(item, path);
}
@@ -55,7 +55,7 @@ void DownloadFilePickerChromeOS::FileSelectedWithExtraInfo(
if (download_manager_) {
DownloadItem* download = download_manager_->GetDownload(download_id_);
- gdata::DriveDownloadObserver::SubstituteDriveDownloadPath(
+ drive::DriveDownloadObserver::SubstituteDriveDownloadPath(
NULL, path, download,
base::Bind(&DownloadFilePickerChromeOS::OnFileSelected,
base::Unretained(this)));
« no previous file with comments | « chrome/browser/download/chrome_download_manager_delegate.cc ('k') | chrome/browser/download/download_item_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698