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

Unified Diff: webkit/browser/fileapi/sandbox_file_stream_writer.cc

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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: webkit/browser/fileapi/sandbox_file_stream_writer.cc
diff --git a/webkit/browser/fileapi/sandbox_file_stream_writer.cc b/webkit/browser/fileapi/sandbox_file_stream_writer.cc
index 404bdba42971cef36a0d12c834184a380c6ee9c8..a4e5df19ae7abf4f36cdb5e9c8df53e5d6a44cc4 100644
--- a/webkit/browser/fileapi/sandbox_file_stream_writer.cc
+++ b/webkit/browser/fileapi/sandbox_file_stream_writer.cc
@@ -112,16 +112,16 @@ int SandboxFileStreamWriter::WriteInternal(
void SandboxFileStreamWriter::DidCreateSnapshotFile(
const net::CompletionCallback& callback,
- base::PlatformFileError file_error,
- const base::PlatformFileInfo& file_info,
+ base::File::Error file_error,
+ const base::File::Info& file_info,
const base::FilePath& platform_path,
const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
DCHECK(!file_ref.get());
if (CancelIfRequested())
return;
- if (file_error != base::PLATFORM_FILE_OK) {
- callback.Run(net::PlatformFileErrorToNetError(file_error));
+ if (file_error != base::File::FILE_OK) {
+ callback.Run(net::FileErrorToNetError(file_error));
return;
}
if (file_info.is_directory) {
« no previous file with comments | « webkit/browser/fileapi/sandbox_file_stream_writer.h ('k') | webkit/browser/fileapi/sandbox_file_system_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698