OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_CALLBACK_DISPATCHER_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ |
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/file_util_proxy.h" | 11 #include "base/files/file_util_proxy.h" |
12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
13 #include "base/process.h" | 13 #include "base/process.h" |
14 #include "webkit/storage/webkit_storage_export.h" | 14 #include "webkit/storage/webkit_storage_export.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
17 | 17 |
18 namespace fileapi { | 18 namespace fileapi { |
19 | 19 |
20 // This class mirrors the callbacks in | 20 // This class mirrors the callbacks in |
21 // third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallbacks.h, | 21 // third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallbacks.h, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just | 58 // Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just |
59 // for Pepper. | 59 // for Pepper. |
60 // The method will be responsible for closing |file|. | 60 // The method will be responsible for closing |file|. |
61 virtual void DidOpenFile( | 61 virtual void DidOpenFile( |
62 base::PlatformFile file); | 62 base::PlatformFile file); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace fileapi | 65 } // namespace fileapi |
66 | 66 |
67 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ | 67 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ |
OLD | NEW |