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

Side by Side Diff: webkit/browser/fileapi/file_system_file_stream_reader.cc

Issue 289003006: Remove stray platform_file.h from webkit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android build Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/browser/fileapi/file_system_file_stream_reader.h" 5 #include "webkit/browser/fileapi/file_system_file_stream_reader.h"
6 6
7 #include "base/files/file_util_proxy.h" 7 #include "base/files/file_util_proxy.h"
8 #include "base/platform_file.h"
9 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
10 #include "net/base/file_stream.h" 9 #include "net/base/file_stream.h"
11 #include "net/base/io_buffer.h" 10 #include "net/base/io_buffer.h"
12 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
13 #include "webkit/browser/blob/file_stream_reader.h" 12 #include "webkit/browser/blob/file_stream_reader.h"
14 #include "webkit/browser/fileapi/file_system_context.h" 13 #include "webkit/browser/fileapi/file_system_context.h"
15 #include "webkit/browser/fileapi/file_system_operation_runner.h" 14 #include "webkit/browser/fileapi/file_system_operation_runner.h"
16 15
17 using webkit_blob::FileStreamReader; 16 using webkit_blob::FileStreamReader;
18 17
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 134
136 local_file_reader_.reset( 135 local_file_reader_.reset(
137 FileStreamReader::CreateForLocalFile( 136 FileStreamReader::CreateForLocalFile(
138 file_system_context_->default_file_task_runner(), 137 file_system_context_->default_file_task_runner(),
139 platform_path, initial_offset_, expected_modification_time_)); 138 platform_path, initial_offset_, expected_modification_time_));
140 139
141 callback.Run(); 140 callback.Run();
142 } 141 }
143 142
144 } // namespace fileapi 143 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_system_dir_url_request_job.cc ('k') | webkit/browser/fileapi/file_system_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698