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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc

Issue 9742002: Wired GDataFileSystem::GetFile() method with internal cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 9 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/chromeos/gdata/gdata_file_system_proxy.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc b/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
index 652df024b308088162e3b6ab7b1bd0eaa6f06e39..62a1b4dfa9255653d9457e7ef6a47f31d2982d37 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
@@ -190,8 +190,9 @@ void GDataFileSystemProxy::CreateSnapshotFile(
const FileSystemOperationInterface::SnapshotFileCallback& callback) {
FilePath file_path;
base::PlatformFileInfo file_info;
+ GDataFileProperties file_properties;
if (!ValidateUrl(file_url, &file_path) ||
- !file_system_->GetFileInfoFromPath(file_path, &file_info)) {
+ !file_system_->GetFileInfoFromPath(file_path, &file_properties)) {
MessageLoopProxy::current()->PostTask(FROM_HERE,
base::Bind(callback,
base::PLATFORM_FILE_ERROR_NOT_FOUND,
@@ -204,7 +205,7 @@ void GDataFileSystemProxy::CreateSnapshotFile(
file_system_->GetFile(file_path,
base::Bind(&CallSnapshotFileCallback,
callback,
- file_info));
+ file_properties.file_info));
}
// static.
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system.cc ('k') | chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698