OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // This file provides file system related API functions. | 5 // This file provides file system related API functions. |
6 | 6 |
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYSTEM_
H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYSTEM_
H_ |
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYSTEM_
H_ | 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYSTEM_
H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
13 #include "chrome/browser/chromeos/drive/file_errors.h" | 13 #include "chrome/browser/chromeos/drive/file_errors.h" |
14 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" | 14 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class FilePath; | 19 class FilePath; |
20 } | 20 } |
21 | 21 |
22 namespace fileapi { | 22 namespace fileapi { |
23 class FileSystemContext; | 23 class FileSystemContext; |
24 } | 24 } |
25 | 25 |
26 namespace file_manager { | 26 namespace extensions { |
27 | 27 |
28 // Implements the chrome.fileBrowserPrivate.requestFileSystem method. | 28 // Implements the chrome.fileBrowserPrivate.requestFileSystem method. |
29 class RequestFileSystemFunction : public LoggedAsyncExtensionFunction { | 29 class RequestFileSystemFunction : public LoggedAsyncExtensionFunction { |
30 public: | 30 public: |
31 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.requestFileSystem", | 31 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.requestFileSystem", |
32 FILEBROWSERPRIVATE_REQUESTFILESYSTEM) | 32 FILEBROWSERPRIVATE_REQUESTFILESYSTEM) |
33 | 33 |
34 RequestFileSystemFunction(); | 34 RequestFileSystemFunction(); |
35 | 35 |
36 protected: | 36 protected: |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 FormatDeviceFunction(); | 207 FormatDeviceFunction(); |
208 | 208 |
209 protected: | 209 protected: |
210 virtual ~FormatDeviceFunction(); | 210 virtual ~FormatDeviceFunction(); |
211 | 211 |
212 // AsyncExtensionFunction overrides. | 212 // AsyncExtensionFunction overrides. |
213 virtual bool RunImpl() OVERRIDE; | 213 virtual bool RunImpl() OVERRIDE; |
214 }; | 214 }; |
215 | 215 |
216 } // namespace file_manager | 216 } // namespace extensions |
217 | 217 |
218 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYST
EM_H_ | 218 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYST
EM_H_ |
OLD | NEW |