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 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROV
IDER_API_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROV
IDER_API_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROV
IDER_API_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROV
IDER_API_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/extensions/file_system_provider/provider_funct
ion.h" | 8 #include "chrome/browser/chromeos/extensions/file_system_provider/provider_funct
ion.h" |
9 #include "chrome/browser/extensions/chrome_extension_function.h" | 9 #include "chrome/browser/extensions/chrome_extension_function.h" |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 public: | 71 public: |
72 DECLARE_EXTENSION_FUNCTION( | 72 DECLARE_EXTENSION_FUNCTION( |
73 "fileSystemProviderInternal.getMetadataRequestedError", | 73 "fileSystemProviderInternal.getMetadataRequestedError", |
74 FILESYSTEMPROVIDERINTERNAL_GETMETADATAREQUESTEDERROR) | 74 FILESYSTEMPROVIDERINTERNAL_GETMETADATAREQUESTEDERROR) |
75 | 75 |
76 protected: | 76 protected: |
77 virtual ~FileSystemProviderInternalGetMetadataRequestedErrorFunction() {} | 77 virtual ~FileSystemProviderInternalGetMetadataRequestedErrorFunction() {} |
78 virtual bool RunWhenValid() OVERRIDE; | 78 virtual bool RunWhenValid() OVERRIDE; |
79 }; | 79 }; |
80 | 80 |
| 81 class FileSystemProviderInternalReadDirectoryRequestedSuccessFunction |
| 82 : public FileSystemProviderInternalFunction { |
| 83 public: |
| 84 DECLARE_EXTENSION_FUNCTION( |
| 85 "fileSystemProviderInternal.readDirectoryRequestedSuccess", |
| 86 FILESYSTEMPROVIDERINTERNAL_READDIRECTORYREQUESTEDSUCCESS) |
| 87 |
| 88 protected: |
| 89 virtual ~FileSystemProviderInternalReadDirectoryRequestedSuccessFunction() {} |
| 90 virtual bool RunWhenValid() OVERRIDE; |
| 91 }; |
| 92 |
| 93 class FileSystemProviderInternalReadDirectoryRequestedErrorFunction |
| 94 : public FileSystemProviderInternalFunction { |
| 95 public: |
| 96 DECLARE_EXTENSION_FUNCTION( |
| 97 "fileSystemProviderInternal.readDirectoryRequestedError", |
| 98 FILESYSTEMPROVIDERINTERNAL_READDIRECTORYREQUESTEDERROR) |
| 99 |
| 100 protected: |
| 101 virtual ~FileSystemProviderInternalReadDirectoryRequestedErrorFunction() {} |
| 102 virtual bool RunWhenValid() OVERRIDE; |
| 103 }; |
| 104 |
81 } // namespace extensions | 105 } // namespace extensions |
82 | 106 |
83 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_P
ROVIDER_API_H_ | 107 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_P
ROVIDER_API_H_ |
OLD | NEW |