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

Side by Side Diff: webkit/fileapi/file_system_file_stream_reader.h

Issue 10870040: Rename FileSystemOperationInterface to FileSystemOperation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing Created 8 years, 4 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 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
11 #include "webkit/fileapi/file_system_url.h" 11 #include "webkit/fileapi/file_system_url.h"
12 #include "webkit/blob/file_stream_reader.h" 12 #include "webkit/blob/file_stream_reader.h"
13 #include "webkit/blob/shareable_file_reference.h"
13 14
14 class FilePath; 15 class FilePath;
15 16
16 namespace base { 17 namespace base {
17 class SequencedTaskRunner; 18 class SequencedTaskRunner;
18 } 19 }
19 20
20 namespace webkit_blob { 21 namespace webkit_blob {
21 class LocalFileStreamReader; 22 class LocalFileStreamReader;
22 class ShareableFileReference;
23 } 23 }
24 24
25 namespace fileapi { 25 namespace fileapi {
26 26
27 class FileSystemContext; 27 class FileSystemContext;
28 28
29 // TODO(kinaba,satorux): This generic implementation would work for any 29 // TODO(kinaba,satorux): This generic implementation would work for any
30 // filesystems but remote filesystem should implement its own reader 30 // filesystems but remote filesystem should implement its own reader
31 // rather than relying on FileSystemOperation::GetSnapshotFile() which 31 // rather than relying on FileSystemOperation::GetSnapshotFile() which
32 // may force downloading the entire contents for remote files. 32 // may force downloading the entire contents for remote files.
(...skipping 25 matching lines...) Expand all
58 scoped_refptr<webkit_blob::ShareableFileReference> snapshot_ref_; 58 scoped_refptr<webkit_blob::ShareableFileReference> snapshot_ref_;
59 bool has_pending_create_snapshot_; 59 bool has_pending_create_snapshot_;
60 base::WeakPtrFactory<FileSystemFileStreamReader> weak_factory_; 60 base::WeakPtrFactory<FileSystemFileStreamReader> weak_factory_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(FileSystemFileStreamReader); 62 DISALLOW_COPY_AND_ASSIGN(FileSystemFileStreamReader);
63 }; 63 };
64 64
65 } // namespace fileapi 65 } // namespace fileapi
66 66
67 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ 67 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_dir_url_request_job.cc ('k') | webkit/fileapi/file_system_file_stream_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698