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

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

Issue 12084077: FileSystem mods: Changes to snapshot file creation to remove dependencies on blobs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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/fileapi/webfilesystem_callback_dispatcher.cc
===================================================================
--- content/common/fileapi/webfilesystem_callback_dispatcher.cc (revision 182366)
+++ content/common/fileapi/webfilesystem_callback_dispatcher.cc (working copy)
@@ -46,6 +46,15 @@
callbacks_->didReadMetadata(web_file_info);
}
+void WebFileSystemCallbackDispatcher::DidCreateSnapshotFile(
+ const base::PlatformFileInfo& file_info,
+ const base::FilePath& platform_path) {
+ WebFileInfo web_file_info;
+ webkit_glue::PlatformFileInfoToWebFileInfo(file_info, &web_file_info);
+ web_file_info.platformPath = webkit_base::FilePathToWebString(platform_path);
+ callbacks_->didCreateSnapshotFile(web_file_info);
+}
+
void WebFileSystemCallbackDispatcher::DidReadDirectory(
const std::vector<base::FileUtilProxy::Entry>& entries, bool has_more) {
WebVector<WebFileSystemEntry> file_system_entries(entries.size());
« no previous file with comments | « content/common/fileapi/webfilesystem_callback_dispatcher.h ('k') | content/common/fileapi/webfilesystem_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698