| 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 CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_ |
| 6 #define CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/files/file_util_proxy.h" |
| 10 #include "base/platform_file.h" |
| 11 |
| 12 class GURL; |
| 13 |
| 14 namespace WebKit { |
| 15 class WebFileSystemCallbacks; |
| 16 } |
| 17 |
| 18 namespace content { |
| 19 |
| 20 void FileStatusCallbackAdapter( |
| 21 WebKit::WebFileSystemCallbacks* callbacks, |
| 22 base::PlatformFileError error); |
| 23 |
| 24 void ReadMetadataCallbackAdapter( |
| 25 WebKit::WebFileSystemCallbacks* callbacks, |
| 26 const base::PlatformFileInfo& file_info, |
| 27 const base::FilePath& platform_path); |
| 28 |
| 29 void CreateSnapshotFileCallbackAdapter( |
| 30 WebKit::WebFileSystemCallbacks* callbacks, |
| 31 const base::PlatformFileInfo& file_info, |
| 32 const base::FilePath& platform_path); |
| 33 |
| 34 void ReadDirectoryCallbackAdapater( |
| 35 WebKit::WebFileSystemCallbacks* callbacks, |
| 36 const std::vector<base::FileUtilProxy::Entry>& entries, |
| 37 bool has_more); |
| 38 |
| 39 void OpenFileSystemCallbackAdapter( |
| 40 WebKit::WebFileSystemCallbacks* callbacks, |
| 41 const std::string& name, const GURL& root); |
| 42 |
| 43 } // namespace content |
| 44 |
| 45 #endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_ |
| OLD | NEW |