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

Unified Diff: webkit/fileapi/file_system_url_request_job.h

Issue 10038019: Add FileReader interface and implement FileSystemFileReader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 8 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/fileapi/file_system_file_reader.cc ('k') | webkit/fileapi/file_system_url_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_url_request_job.h
diff --git a/webkit/fileapi/file_system_url_request_job.h b/webkit/fileapi/file_system_url_request_job.h
index f0f9a183c01e590bdc4886f3a1233ee06d9c8ec7..9541c3160fa06892a6250bef11873e82eb5639e8 100644
--- a/webkit/fileapi/file_system_url_request_job.h
+++ b/webkit/fileapi/file_system_url_request_job.h
@@ -19,13 +19,9 @@
class GURL;
class FilePath;
-namespace webkit_blob {
-class LocalFileReader;
-class ShareableFileReference;
-}
-
namespace fileapi {
class FileSystemContext;
+class FileSystemFileReader;
// A request job that handles reading filesystem: URLs
class FileSystemURLRequestJob : public net::URLRequestJob {
@@ -57,21 +53,17 @@ class FileSystemURLRequestJob : public net::URLRequestJob {
virtual ~FileSystemURLRequestJob();
void StartAsync();
- void DidCreateSnapshot(
+ void DidGetMetadata(
base::PlatformFileError error_code,
const base::PlatformFileInfo& file_info,
- const FilePath& platform_path,
- const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
- void DidOpen(base::PlatformFileError error_code,
- base::PassPlatformFile file, bool created);
+ const FilePath& platform_path);
void DidRead(int result);
void NotifyFailed(int rv);
FileSystemContext* file_system_context_;
scoped_refptr<base::MessageLoopProxy> file_thread_proxy_;
base::WeakPtrFactory<FileSystemURLRequestJob> weak_factory_;
- scoped_ptr<webkit_blob::LocalFileReader> reader_;
- scoped_refptr<webkit_blob::ShareableFileReference> snapshot_ref_;
+ scoped_ptr<FileSystemFileReader> reader_;
bool is_directory_;
scoped_ptr<net::HttpResponseInfo> response_info_;
int64 remaining_bytes_;
« no previous file with comments | « webkit/fileapi/file_system_file_reader.cc ('k') | webkit/fileapi/file_system_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698