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 CHROME_BROWSER_EXTENSIONS_API_FILE_SYSTEM_FILE_SYSTEM_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_FILE_SYSTEM_FILE_SYSTEM_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_FILE_SYSTEM_FILE_SYSTEM_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_FILE_SYSTEM_FILE_SYSTEM_API_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/files/file.h" |
11 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
12 #include "chrome/browser/extensions/chrome_extension_function.h" | 13 #include "chrome/browser/extensions/chrome_extension_function.h" |
13 #include "chrome/common/extensions/api/file_system.h" | 14 #include "chrome/common/extensions/api/file_system.h" |
14 #include "ui/shell_dialogs/select_file_dialog.h" | 15 #include "ui/shell_dialogs/select_file_dialog.h" |
15 | 16 |
16 namespace extensions { | 17 namespace extensions { |
17 class ExtensionPrefs; | 18 class ExtensionPrefs; |
18 | 19 |
19 namespace file_system_api { | 20 namespace file_system_api { |
20 | 21 |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 FILESYSTEM_GETOBSERVEDENTRIES); | 236 FILESYSTEM_GETOBSERVEDENTRIES); |
236 | 237 |
237 protected: | 238 protected: |
238 ~FileSystemGetObservedEntriesFunction() override {} | 239 ~FileSystemGetObservedEntriesFunction() override {} |
239 bool RunSync() override; | 240 bool RunSync() override; |
240 }; | 241 }; |
241 | 242 |
242 } // namespace extensions | 243 } // namespace extensions |
243 | 244 |
244 #endif // CHROME_BROWSER_EXTENSIONS_API_FILE_SYSTEM_FILE_SYSTEM_API_H_ | 245 #endif // CHROME_BROWSER_EXTENSIONS_API_FILE_SYSTEM_FILE_SYSTEM_API_H_ |
OLD | NEW |