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_OPERATIONS_READ_FILE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_READ_FILE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_READ_FILE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_READ_FILE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/files/file.h" | 12 #include "base/files/file.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "chrome/browser/chromeos/file_system_provider/operations/operation.h" | 15 #include "chrome/browser/chromeos/file_system_provider/operations/operation.h" |
16 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 16 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
17 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 17 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
18 #include "chrome/browser/chromeos/file_system_provider/request_value.h" | 18 #include "chrome/browser/chromeos/file_system_provider/request_value.h" |
19 #include "net/base/io_buffer.h" | 19 #include "net/base/io_buffer.h" |
20 #include "storage/browser/fileapi/async_file_util.h" | 20 #include "storage/browser/fileapi/async_file_util.h" |
21 | 21 |
22 namespace base { | |
23 class FilePath; | |
24 } // namespace base | |
25 | |
26 namespace extensions { | 22 namespace extensions { |
27 class EventRouter; | 23 class EventRouter; |
28 } // namespace extensions | 24 } // namespace extensions |
29 | 25 |
30 namespace chromeos { | 26 namespace chromeos { |
31 namespace file_system_provider { | 27 namespace file_system_provider { |
32 namespace operations { | 28 namespace operations { |
33 | 29 |
34 // Bridge between fileapi read file and providing extension's read fil request. | 30 // Bridge between fileapi read file and providing extension's read fil request. |
35 // Created per request. | 31 // Created per request. |
(...skipping 27 matching lines...) Expand all Loading... |
63 const ProvidedFileSystemInterface::ReadChunkReceivedCallback callback_; | 59 const ProvidedFileSystemInterface::ReadChunkReceivedCallback callback_; |
64 | 60 |
65 DISALLOW_COPY_AND_ASSIGN(ReadFile); | 61 DISALLOW_COPY_AND_ASSIGN(ReadFile); |
66 }; | 62 }; |
67 | 63 |
68 } // namespace operations | 64 } // namespace operations |
69 } // namespace file_system_provider | 65 } // namespace file_system_provider |
70 } // namespace chromeos | 66 } // namespace chromeos |
71 | 67 |
72 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_READ_FILE_H_ | 68 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_READ_FILE_H_ |
OLD | NEW |