OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_FILE_STREAM_READER_
H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_FILE_STREAM_READER_
H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_FILE_STREAM_READER_
H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_FILE_STREAM_READER_
H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "storage/browser/blob/file_stream_reader.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 | 15 |
16 namespace chromeos { | 16 namespace chromeos { |
17 namespace file_system_provider { | 17 namespace file_system_provider { |
18 | 18 |
19 struct EntryMetadata; | 19 struct EntryMetadata; |
20 class ProvidedFileSystemInterface; | 20 class ProvidedFileSystemInterface; |
21 | 21 |
22 // Implements a streamed file reader. It is lazily initialized by the first call | 22 // Implements a streamed file reader. It is lazily initialized by the first call |
23 // to Read(). | 23 // to Read(). |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 State state_; | 104 State state_; |
105 | 105 |
106 base::WeakPtrFactory<FileStreamReader> weak_ptr_factory_; | 106 base::WeakPtrFactory<FileStreamReader> weak_ptr_factory_; |
107 DISALLOW_COPY_AND_ASSIGN(FileStreamReader); | 107 DISALLOW_COPY_AND_ASSIGN(FileStreamReader); |
108 }; | 108 }; |
109 | 109 |
110 } // namespace file_system_provider | 110 } // namespace file_system_provider |
111 } // namespace chromeos | 111 } // namespace chromeos |
112 | 112 |
113 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_FILE_STREAM_READ
ER_H_ | 113 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_FILE_STREAM_READ
ER_H_ |
OLD | NEW |