| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 public: | 143 public: |
| 144 DECLARE_EXTENSION_FUNCTION( | 144 DECLARE_EXTENSION_FUNCTION( |
| 145 "fileSystemProviderInternal.closeFileRequestedError", | 145 "fileSystemProviderInternal.closeFileRequestedError", |
| 146 FILESYSTEMPROVIDERINTERNAL_CLOSEFILEREQUESTEDERROR) | 146 FILESYSTEMPROVIDERINTERNAL_CLOSEFILEREQUESTEDERROR) |
| 147 | 147 |
| 148 protected: | 148 protected: |
| 149 virtual ~FileSystemProviderInternalCloseFileRequestedErrorFunction() {} | 149 virtual ~FileSystemProviderInternalCloseFileRequestedErrorFunction() {} |
| 150 virtual bool RunWhenValid() OVERRIDE; | 150 virtual bool RunWhenValid() OVERRIDE; |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 class FileSystemProviderInternalReadFileRequestedSuccessFunction |
| 154 : public FileSystemProviderInternalFunction { |
| 155 public: |
| 156 DECLARE_EXTENSION_FUNCTION( |
| 157 "fileSystemProviderInternal.readFileRequestedSuccess", |
| 158 FILESYSTEMPROVIDERINTERNAL_READFILEREQUESTEDSUCCESS) |
| 159 |
| 160 protected: |
| 161 virtual ~FileSystemProviderInternalReadFileRequestedSuccessFunction() {} |
| 162 virtual bool RunWhenValid() OVERRIDE; |
| 163 }; |
| 164 |
| 165 class FileSystemProviderInternalReadFileRequestedErrorFunction |
| 166 : public FileSystemProviderInternalFunction { |
| 167 public: |
| 168 DECLARE_EXTENSION_FUNCTION( |
| 169 "fileSystemProviderInternal.readFileRequestedError", |
| 170 FILESYSTEMPROVIDERINTERNAL_READFILEREQUESTEDERROR) |
| 171 |
| 172 protected: |
| 173 virtual ~FileSystemProviderInternalReadFileRequestedErrorFunction() {} |
| 174 virtual bool RunWhenValid() OVERRIDE; |
| 175 }; |
| 176 |
| 153 } // namespace extensions | 177 } // namespace extensions |
| 154 | 178 |
| 155 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_P
ROVIDER_API_H_ | 179 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_P
ROVIDER_API_H_ |
| OLD | NEW |