Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Side by Side Diff: trunk/src/content/child/fileapi/webfilesystem_callback_adapters.h

Issue 21334002: Revert 214160 "Implement Worker-MainThread bridge for FileSystem..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:mergeinfo
OLDNEW
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 CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_ 5 #ifndef CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_
6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_ 6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 10
11 class GURL; 11 class GURL;
12 12
13 namespace fileapi { 13 namespace fileapi {
14 struct DirectoryEntry; 14 struct DirectoryEntry;
15 } 15 }
16 16
17 namespace WebKit { 17 namespace WebKit {
18 class WebFileSystemCallbacks; 18 class WebFileSystemCallbacks;
19 } 19 }
20 20
21 namespace content { 21 namespace content {
22 22
23 void FileStatusCallbackAdapter( 23 void FileStatusCallbackAdapter(
24 WebKit::WebFileSystemCallbacks* callbacks, 24 WebKit::WebFileSystemCallbacks* callbacks,
25 base::PlatformFileError error); 25 base::PlatformFileError error);
26 26
27 void ReadMetadataCallbackAdapter(
28 WebKit::WebFileSystemCallbacks* callbacks,
29 const base::PlatformFileInfo& file_info);
30
31 void CreateSnapshotFileCallbackAdapter(
32 WebKit::WebFileSystemCallbacks* callbacks,
33 const base::PlatformFileInfo& file_info,
34 const base::FilePath& platform_path);
35
36 void ReadDirectoryCallbackAdapater(
37 WebKit::WebFileSystemCallbacks* callbacks,
38 const std::vector<fileapi::DirectoryEntry>& entries,
39 bool has_more);
40
27 void OpenFileSystemCallbackAdapter( 41 void OpenFileSystemCallbackAdapter(
28 WebKit::WebFileSystemCallbacks* callbacks, 42 WebKit::WebFileSystemCallbacks* callbacks,
29 const std::string& name, const GURL& root); 43 const std::string& name, const GURL& root);
30 44
31 } // namespace content 45 } // namespace content
32 46
33 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_ 47 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698