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

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

Issue 10914188: Added PlatformFileError param to FileSystemMountPointProvider::CreateFileSystemOperation function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 FileSystemType type, 89 FileSystemType type,
90 const FilePath& virtual_path, 90 const FilePath& virtual_path,
91 bool create) OVERRIDE; 91 bool create) OVERRIDE;
92 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; 92 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE;
93 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; 93 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE;
94 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; 94 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE;
95 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) 95 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path)
96 const OVERRIDE; 96 const OVERRIDE;
97 virtual FileSystemOperation* CreateFileSystemOperation( 97 virtual FileSystemOperation* CreateFileSystemOperation(
98 const FileSystemURL& url, 98 const FileSystemURL& url,
99 FileSystemContext* context) const OVERRIDE; 99 FileSystemContext* context,
100 base::PlatformFileError* error_code) const OVERRIDE;
100 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( 101 virtual webkit_blob::FileStreamReader* CreateFileStreamReader(
101 const FileSystemURL& url, 102 const FileSystemURL& url,
102 int64 offset, 103 int64 offset,
103 FileSystemContext* context) const OVERRIDE; 104 FileSystemContext* context) const OVERRIDE;
104 virtual FileStreamWriter* CreateFileStreamWriter( 105 virtual FileStreamWriter* CreateFileStreamWriter(
105 const FileSystemURL& url, 106 const FileSystemURL& url,
106 int64 offset, 107 int64 offset,
107 FileSystemContext* context) const OVERRIDE; 108 FileSystemContext* context) const OVERRIDE;
108 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; 109 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
109 virtual void DeleteFileSystem( 110 virtual void DeleteFileSystem(
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 base::Time next_release_time_for_open_filesystem_stat_; 203 base::Time next_release_time_for_open_filesystem_stat_;
203 204
204 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; 205 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_;
205 206
206 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); 207 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider);
207 }; 208 };
208 209
209 } // namespace fileapi 210 } // namespace fileapi
210 211
211 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 212 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698