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_WRITE_FILE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_WRITE_FILE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_WRITE_FILE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_WRITE_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 write file and providing extension's write fil | 30 // Bridge between fileapi write file and providing extension's write fil |
35 // request. | 31 // request. |
(...skipping 26 matching lines...) Expand all Loading... |
62 const storage::AsyncFileUtil::StatusCallback callback_; | 58 const storage::AsyncFileUtil::StatusCallback callback_; |
63 | 59 |
64 DISALLOW_COPY_AND_ASSIGN(WriteFile); | 60 DISALLOW_COPY_AND_ASSIGN(WriteFile); |
65 }; | 61 }; |
66 | 62 |
67 } // namespace operations | 63 } // namespace operations |
68 } // namespace file_system_provider | 64 } // namespace file_system_provider |
69 } // namespace chromeos | 65 } // namespace chromeos |
70 | 66 |
71 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_WRITE_FILE_H_ | 67 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_WRITE_FILE_H_ |
OLD | NEW |