OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EXTFS_EXTFS_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_EXTFS_EXTFS_API_H_ |
| 7 |
| 8 #include "chrome/browser/extensions/extension_function.h" |
| 9 |
| 10 namespace extensions { |
| 11 |
| 12 class ExtfsAddMountPointFunction |
| 13 : public AsyncExtensionFunction { |
| 14 public: |
| 15 DECLARE_EXTENSION_FUNCTION("extfs.addMountPoint", |
| 16 EXTFS_ADDMOUNTPOINT) |
| 17 |
| 18 protected: |
| 19 virtual ~ExtfsAddMountPointFunction() {} |
| 20 virtual bool RunImpl() OVERRIDE; |
| 21 |
| 22 private: |
| 23 }; |
| 24 |
| 25 class ExtfsDidGetFileInfoFunction |
| 26 : public AsyncExtensionFunction { |
| 27 public: |
| 28 DECLARE_EXTENSION_FUNCTION("extfs.didGetFileInfo", |
| 29 EXTFS_DIDGETFILEINFO) |
| 30 |
| 31 protected: |
| 32 virtual ~ExtfsDidGetFileInfoFunction() {} |
| 33 virtual bool RunImpl() OVERRIDE; |
| 34 |
| 35 private: |
| 36 }; |
| 37 |
| 38 } // namespace extensions |
| 39 |
| 40 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTFS_EXTFS_API_H_ |
OLD | NEW |