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

Side by Side Diff: webkit/fileapi/local_file_system_file_util.h

Issue 6731033: Remove the path from PlatformFileInfo; it's cleaner just to pass it along as a (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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) 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_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 int file_flags, 44 int file_flags,
45 PlatformFile* file_handle, 45 PlatformFile* file_handle,
46 bool* created); 46 bool* created);
47 47
48 virtual PlatformFileError EnsureFileExists( 48 virtual PlatformFileError EnsureFileExists(
49 FileSystemOperationContext* context, 49 FileSystemOperationContext* context,
50 const FilePath& file_path, bool* created); 50 const FilePath& file_path, bool* created);
51 51
52 virtual PlatformFileError GetFileInfo( 52 virtual PlatformFileError GetFileInfo(
53 FileSystemOperationContext* context, 53 FileSystemOperationContext* context,
54 const FilePath& file_, base::PlatformFileInfo* file_info); 54 const FilePath& file_,
55 base::PlatformFileInfo* file_info,
56 FilePath* platform_file);
55 57
56 virtual PlatformFileError ReadDirectory( 58 virtual PlatformFileError ReadDirectory(
57 FileSystemOperationContext* context, 59 FileSystemOperationContext* context,
58 const FilePath& file_path, 60 const FilePath& file_path,
59 std::vector<base::FileUtilProxy::Entry>* entries); 61 std::vector<base::FileUtilProxy::Entry>* entries);
60 62
61 virtual PlatformFileError CreateDirectory( 63 virtual PlatformFileError CreateDirectory(
62 FileSystemOperationContext* context, 64 FileSystemOperationContext* context,
63 const FilePath& file_path, 65 const FilePath& file_path,
64 bool exclusive, 66 bool exclusive,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 FileSystemOperationContext* context, 105 FileSystemOperationContext* context,
104 const GURL& origin_url, 106 const GURL& origin_url,
105 FileSystemType type, 107 FileSystemType type,
106 const FilePath& virtual_path); 108 const FilePath& virtual_path);
107 109
108 }; 110 };
109 111
110 } // namespace fileapi 112 } // namespace fileapi
111 113
112 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ 114 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_operation_unittest.cc ('k') | webkit/fileapi/local_file_system_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698