| 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/drive/drive.pb.h" | |
| 14 #include "chrome/browser/chromeos/drive/file_errors.h" | 13 #include "chrome/browser/chromeos/drive/file_errors.h" |
| 15 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" | 14 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" |
| 15 #include "components/drive/drive.pb.h" |
| 16 | 16 |
| 17 namespace ui { | 17 namespace ui { |
| 18 struct SelectedFileInfo; | 18 struct SelectedFileInfo; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace extensions { | 21 namespace extensions { |
| 22 | 22 |
| 23 // Implements chrome.fileManagerPrivate.addMount method. | 23 // Implements chrome.fileManagerPrivate.addMount method. |
| 24 // Mounts removable devices and archive files. | 24 // Mounts removable devices and archive files. |
| 25 class FileManagerPrivateAddMountFunction : public LoggedAsyncExtensionFunction { | 25 class FileManagerPrivateAddMountFunction : public LoggedAsyncExtensionFunction { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 protected: | 72 protected: |
| 73 ~FileManagerPrivateGetVolumeMetadataListFunction() override {} | 73 ~FileManagerPrivateGetVolumeMetadataListFunction() override {} |
| 74 | 74 |
| 75 // AsyncExtensionFunction overrides. | 75 // AsyncExtensionFunction overrides. |
| 76 bool RunAsync() override; | 76 bool RunAsync() override; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace extensions | 79 } // namespace extensions |
| 80 | 80 |
| 81 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ | 81 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ |
| OLD | NEW |