| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/files/file.h" | 13 #include "base/files/file.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "storage/browser/blob/shareable_file_reference.h" | 17 #include "storage/browser/blob/shareable_file_reference.h" |
| 18 #include "storage/browser/fileapi/file_stream_reader.h" | 18 #include "storage/browser/fileapi/file_stream_reader.h" |
| 19 #include "storage/browser/fileapi/file_system_url.h" | 19 #include "storage/browser/fileapi/file_system_url.h" |
| 20 #include "storage/browser/storage_browser_export.h" | 20 #include "storage/browser/storage_browser_export.h" |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class FilePath; | 23 class FilePath; |
| 24 class SequencedTaskRunner; | |
| 25 } | 24 } |
| 26 | 25 |
| 27 namespace content { | 26 namespace content { |
| 28 class FileSystemFileStreamReaderTest; | 27 class FileSystemFileStreamReaderTest; |
| 29 } | 28 } |
| 30 | 29 |
| 31 namespace storage { | 30 namespace storage { |
| 32 | 31 |
| 33 class FileSystemContext; | 32 class FileSystemContext; |
| 34 | 33 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 scoped_refptr<storage::ShareableFileReference> snapshot_ref_; | 74 scoped_refptr<storage::ShareableFileReference> snapshot_ref_; |
| 76 bool has_pending_create_snapshot_; | 75 bool has_pending_create_snapshot_; |
| 77 base::WeakPtrFactory<FileSystemFileStreamReader> weak_factory_; | 76 base::WeakPtrFactory<FileSystemFileStreamReader> weak_factory_; |
| 78 | 77 |
| 79 DISALLOW_COPY_AND_ASSIGN(FileSystemFileStreamReader); | 78 DISALLOW_COPY_AND_ASSIGN(FileSystemFileStreamReader); |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace storage | 81 } // namespace storage |
| 83 | 82 |
| 84 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ | 83 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_FILE_STREAM_READER_H_ |
| OLD | NEW |