| Index: chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
|
| diff --git a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
|
| index 5f5c8adb632bbe24d0ef3c1565eef49246d25cbd..23c783af292cada2073161c6d962f899ece93564 100644
|
| --- a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
|
| +++ b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
|
| @@ -40,14 +40,18 @@ class FileSystemProviderGetAllFunction : public ChromeSyncExtensionFunction {
|
| virtual bool RunSync() override;
|
| };
|
|
|
| -class FileSystemProviderNotifyFunction : public ChromeSyncExtensionFunction {
|
| +class FileSystemProviderNotifyFunction : public ChromeAsyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("fileSystemProvider.notify",
|
| FILESYSTEMPROVIDER_NOTIFY)
|
|
|
| protected:
|
| virtual ~FileSystemProviderNotifyFunction() {}
|
| - virtual bool RunSync() override;
|
| + virtual bool RunAsync() override;
|
| +
|
| + private:
|
| + // Called when notifying is completed.
|
| + void OnNotifyCompleted(base::File::Error result);
|
| };
|
|
|
| class FileSystemProviderInternalUnmountRequestedSuccessFunction
|
|
|