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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileEntry.cpp

Issue 1609313002: Use BlobCallback in toBlob instead of FileCallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase master and Renamed mimeType to contentType to match other bits in Blob.h Created 4 years, 11 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: third_party/WebKit/Source/modules/filesystem/FileEntry.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/FileEntry.cpp b/third_party/WebKit/Source/modules/filesystem/FileEntry.cpp
index f224ecd315ffd57f55a12979220043bd7f9bbe97..7c5d12186a079e65bb57a64b720bb2450b2570e8 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileEntry.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/FileEntry.cpp
@@ -30,8 +30,8 @@
#include "modules/filesystem/FileEntry.h"
+#include "core/fileapi/BlobCallback.h"
#include "core/fileapi/File.h"
-#include "core/fileapi/FileCallback.h"
#include "modules/filesystem/DOMFileSystem.h"
#include "modules/filesystem/ErrorCallback.h"
#include "modules/filesystem/FileWriterCallback.h"
@@ -48,7 +48,7 @@ void FileEntry::createWriter(FileWriterCallback* successCallback, ErrorCallback*
filesystem()->createWriter(this, successCallback, errorCallback);
}
-void FileEntry::file(FileCallback* successCallback, ErrorCallback* errorCallback)
+void FileEntry::file(BlobCallback* successCallback, ErrorCallback* errorCallback)
{
filesystem()->createFile(this, successCallback, errorCallback);
}
« no previous file with comments | « third_party/WebKit/Source/modules/filesystem/FileEntry.h ('k') | third_party/WebKit/Source/modules/filesystem/FileEntry.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698