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 task related API functions. | 5 // This file provides task related API functions. |
6 | 6 |
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ |
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ | 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" | 13 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" |
14 #include "components/drive/drive.pb.h" | 14 #include "components/drive/drive.pb.h" |
15 #include "components/drive/file_errors.h" | 15 #include "components/drive/file_errors.h" |
16 | 16 |
17 namespace ui { | |
18 struct SelectedFileInfo; | |
19 } | |
20 | |
21 namespace extensions { | 17 namespace extensions { |
22 | 18 |
23 // Implements chrome.fileManagerPrivate.addMount method. | 19 // Implements chrome.fileManagerPrivate.addMount method. |
24 // Mounts removable devices and archive files. | 20 // Mounts removable devices and archive files. |
25 class FileManagerPrivateAddMountFunction : public LoggedAsyncExtensionFunction { | 21 class FileManagerPrivateAddMountFunction : public LoggedAsyncExtensionFunction { |
26 public: | 22 public: |
27 DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.addMount", | 23 DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.addMount", |
28 FILEMANAGERPRIVATE_ADDMOUNT) | 24 FILEMANAGERPRIVATE_ADDMOUNT) |
29 | 25 |
30 protected: | 26 protected: |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 protected: | 68 protected: |
73 ~FileManagerPrivateGetVolumeMetadataListFunction() override {} | 69 ~FileManagerPrivateGetVolumeMetadataListFunction() override {} |
74 | 70 |
75 // AsyncExtensionFunction overrides. | 71 // AsyncExtensionFunction overrides. |
76 bool RunAsync() override; | 72 bool RunAsync() override; |
77 }; | 73 }; |
78 | 74 |
79 } // namespace extensions | 75 } // namespace extensions |
80 | 76 |
81 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ | 77 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ |
OLD | NEW |