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

Side by Side Diff: content/common/fileapi/webfilesystem_callback_adapters.h

Issue 14796018: Cleanup: Deprecate FileSystemCallbackDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/common/fileapi/file_system_dispatcher.cc ('k') | content/common/fileapi/webfilesystem_callback_adapters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698