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

Unified Diff: content/common/file_system/webfilesystem_callback_dispatcher.cc

Issue 6731033: Remove the path from PlatformFileInfo; it's cleaner just to pass it along as a (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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: content/common/file_system/webfilesystem_callback_dispatcher.cc
===================================================================
--- content/common/file_system/webfilesystem_callback_dispatcher.cc (revision 79607)
+++ content/common/file_system/webfilesystem_callback_dispatcher.cc (working copy)
@@ -33,7 +33,7 @@
}
void WebFileSystemCallbackDispatcher::DidReadMetadata(
- const base::PlatformFileInfo& file_info) {
+ const base::PlatformFileInfo& file_info, const FilePath& platform_path) {
WebFileInfo web_file_info;
web_file_info.modificationTime = file_info.last_modified.ToDoubleT();
web_file_info.length = file_info.size;
@@ -42,7 +42,7 @@
else
web_file_info.type = WebFileInfo::TypeFile;
web_file_info.platformPath =
- webkit_glue::FilePathToWebString(file_info.path);
+ webkit_glue::FilePathToWebString(platform_path);
callbacks_->didReadMetadata(web_file_info);
}
« no previous file with comments | « content/common/file_system/webfilesystem_callback_dispatcher.h ('k') | content/common/file_system/webfilewriter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698