OLD | NEW |
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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ |
6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/files/file.h" | 9 #include "base/files/file.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "storage/browser/blob/file_stream_reader.h" | |
13 #include "storage/browser/blob/shareable_file_reference.h" | 12 #include "storage/browser/blob/shareable_file_reference.h" |
| 13 #include "storage/browser/fileapi/file_stream_reader.h" |
14 #include "storage/browser/fileapi/file_system_url.h" | 14 #include "storage/browser/fileapi/file_system_url.h" |
15 #include "storage/browser/storage_browser_export.h" | 15 #include "storage/browser/storage_browser_export.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class FilePath; | 18 class FilePath; |
19 class SequencedTaskRunner; | 19 class SequencedTaskRunner; |
20 } | 20 } |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 class FileSystemFileStreamReaderTest; | 23 class FileSystemFileStreamReaderTest; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 scoped_refptr<storage::ShareableFileReference> snapshot_ref_; | 70 scoped_refptr<storage::ShareableFileReference> snapshot_ref_; |
71 bool has_pending_create_snapshot_; | 71 bool has_pending_create_snapshot_; |
72 base::WeakPtrFactory<FileSystemFileStreamReader> weak_factory_; | 72 base::WeakPtrFactory<FileSystemFileStreamReader> weak_factory_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(FileSystemFileStreamReader); | 74 DISALLOW_COPY_AND_ASSIGN(FileSystemFileStreamReader); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace storage | 77 } // namespace storage |
78 | 78 |
79 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ | 79 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ |
OLD | NEW |