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

Unified Diff: chrome/browser/chromeos/drive/fake_file_system.cc

Issue 18506002: drive/syncFS: Switch to ID based download URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase! Created 7 years, 6 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 | « no previous file | chrome/browser/chromeos/drive/file_system/download_operation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/fake_file_system.cc
diff --git a/chrome/browser/chromeos/drive/fake_file_system.cc b/chrome/browser/chromeos/drive/fake_file_system.cc
index c24ada68851fb74e7a87f4ed9d6b4f6bc46abb29..c477e98c2b62d9b6ccf1ed4cf47888476ccb3c96 100644
--- a/chrome/browser/chromeos/drive/fake_file_system.cc
+++ b/chrome/browser/chromeos/drive/fake_file_system.cc
@@ -342,7 +342,7 @@ void FakeFileSystem::GetFileContentByPathAfterGetWapiResourceEntry(
base::Bind(&base::DoNothing));
drive_service_->DownloadFile(
cache_path,
- GURL(gdata_entry->download_url()),
+ gdata_entry->resource_id(),
base::Bind(&FakeFileSystem::GetFileContentByPathAfterDownloadFile,
weak_ptr_factory_.GetWeakPtr(),
completion_callback),
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system/download_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698