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

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

Issue 14671020: FileAPI: Copy base::FileUtilProxy::Entry to fileapi::DirectoryEntry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build and remove base/ change 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
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 CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_ 5 #ifndef CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_
6 #define CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_ 6 #define CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/files/file_util_proxy.h"
10 #include "base/platform_file.h" 9 #include "base/platform_file.h"
11 10
12 class GURL; 11 class GURL;
13 12
13 namespace fileapi {
14 struct DirectoryEntry;
15 }
16
14 namespace WebKit { 17 namespace WebKit {
15 class WebFileSystemCallbacks; 18 class WebFileSystemCallbacks;
16 } 19 }
17 20
18 namespace content { 21 namespace content {
19 22
20 void FileStatusCallbackAdapter( 23 void FileStatusCallbackAdapter(
21 WebKit::WebFileSystemCallbacks* callbacks, 24 WebKit::WebFileSystemCallbacks* callbacks,
22 base::PlatformFileError error); 25 base::PlatformFileError error);
23 26
24 void ReadMetadataCallbackAdapter( 27 void ReadMetadataCallbackAdapter(
25 WebKit::WebFileSystemCallbacks* callbacks, 28 WebKit::WebFileSystemCallbacks* callbacks,
26 const base::PlatformFileInfo& file_info, 29 const base::PlatformFileInfo& file_info,
27 const base::FilePath& platform_path); 30 const base::FilePath& platform_path);
28 31
29 void CreateSnapshotFileCallbackAdapter( 32 void CreateSnapshotFileCallbackAdapter(
30 WebKit::WebFileSystemCallbacks* callbacks, 33 WebKit::WebFileSystemCallbacks* callbacks,
31 const base::PlatformFileInfo& file_info, 34 const base::PlatformFileInfo& file_info,
32 const base::FilePath& platform_path); 35 const base::FilePath& platform_path);
33 36
34 void ReadDirectoryCallbackAdapater( 37 void ReadDirectoryCallbackAdapater(
35 WebKit::WebFileSystemCallbacks* callbacks, 38 WebKit::WebFileSystemCallbacks* callbacks,
36 const std::vector<base::FileUtilProxy::Entry>& entries, 39 const std::vector<fileapi::DirectoryEntry>& entries,
37 bool has_more); 40 bool has_more);
38 41
39 void OpenFileSystemCallbackAdapter( 42 void OpenFileSystemCallbackAdapter(
40 WebKit::WebFileSystemCallbacks* callbacks, 43 WebKit::WebFileSystemCallbacks* callbacks,
41 const std::string& name, const GURL& root); 44 const std::string& name, const GURL& root);
42 45
43 } // namespace content 46 } // namespace content
44 47
45 #endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_ 48 #endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_
OLDNEW
« no previous file with comments | « content/common/fileapi/file_system_messages.h ('k') | content/common/fileapi/webfilesystem_callback_adapters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698