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

Unified Diff: webkit/browser/blob/local_file_stream_reader.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
« no previous file with comments | « webkit/browser/blob/local_file_stream_reader.h ('k') | webkit/browser/fileapi/async_file_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/blob/local_file_stream_reader.cc
diff --git a/webkit/browser/blob/local_file_stream_reader.cc b/webkit/browser/blob/local_file_stream_reader.cc
index fdf2b064026289b2f517379e46b4fd720027b018..31c4f8c746c6bd08c9684f4fdbaa65c2a35bb71b 100644
--- a/webkit/browser/blob/local_file_stream_reader.cc
+++ b/webkit/browser/blob/local_file_stream_reader.cc
@@ -150,14 +150,14 @@ void LocalFileStreamReader::DidOpenForRead(
void LocalFileStreamReader::DidGetFileInfoForGetLength(
const net::Int64CompletionCallback& callback,
- base::PlatformFileError error,
- const base::PlatformFileInfo& file_info) {
+ base::File::Error error,
+ const base::File::Info& file_info) {
if (file_info.is_directory) {
callback.Run(net::ERR_FILE_NOT_FOUND);
return;
}
- if (error != base::PLATFORM_FILE_OK) {
- callback.Run(net::PlatformFileErrorToNetError(error));
+ if (error != base::File::FILE_OK) {
+ callback.Run(net::FileErrorToNetError(error));
return;
}
if (!VerifySnapshotTime(expected_modification_time_, file_info)) {
« no previous file with comments | « webkit/browser/blob/local_file_stream_reader.h ('k') | webkit/browser/fileapi/async_file_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698