| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_ |
| 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/callback_old.h" | 11 #include "base/callback_old.h" |
| 12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 13 #include "base/file_util_proxy.h" | 13 #include "base/file_util_proxy.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/platform_file.h" | 15 #include "base/platform_file.h" |
| 16 #include "base/tracked_objects.h" | 16 #include "base/tracked_objects.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class MessageLoopProxy; | 19 class MessageLoopProxy; |
| 20 class Time; | |
| 21 } | 20 } |
| 22 | 21 |
| 23 namespace fileapi { | 22 namespace fileapi { |
| 24 | 23 |
| 25 class FileSystemOperationContext; | |
| 26 | |
| 27 using base::MessageLoopProxy; | 24 using base::MessageLoopProxy; |
| 28 using base::PlatformFile; | 25 using base::PlatformFile; |
| 29 using base::PlatformFileError; | 26 using base::PlatformFileError; |
| 30 using base::PlatformFileInfo; | 27 using base::PlatformFileInfo; |
| 31 | 28 |
| 32 // This class provides relay methods for supporting asynchronous access to | 29 // This class provides relay methods for supporting asynchronous access to |
| 33 // FileSystem API operations. (Most of necessary relay methods are provided | 30 // FileSystem API operations. (Most of necessary relay methods are provided |
| 34 // by base::FileUtilProxy, but there are a few operations that are not | 31 // by base::FileUtilProxy, but there are a few operations that are not |
| 35 // covered or are slightly different from the version of base::FileUtilProxy. | 32 // covered or are slightly different from the version of base::FileUtilProxy. |
| 36 class FileSystemFileUtilProxy { | 33 class FileSystemFileUtilProxy { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 const ReadDirectoryTask& task, | 71 const ReadDirectoryTask& task, |
| 75 const ReadDirectoryCallback& callback); | 72 const ReadDirectoryCallback& callback); |
| 76 | 73 |
| 77 private: | 74 private: |
| 78 DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemFileUtilProxy); | 75 DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemFileUtilProxy); |
| 79 }; | 76 }; |
| 80 | 77 |
| 81 } // namespace fileapi | 78 } // namespace fileapi |
| 82 | 79 |
| 83 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_ | 80 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_PROXY_H_ |
| OLD | NEW |