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

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

Issue 12193007: Deprecate MountPointProvider::IsAccessAllowed in favor of GetPermissionPolicy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: base::FilePath fix Created 7 years, 10 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // FileSystemMountPointProvider overrides. 75 // FileSystemMountPointProvider overrides.
76 virtual void ValidateFileSystemRoot( 76 virtual void ValidateFileSystemRoot(
77 const GURL& origin_url, 77 const GURL& origin_url,
78 FileSystemType type, 78 FileSystemType type,
79 bool create, 79 bool create,
80 const ValidateFileSystemCallback& callback) OVERRIDE; 80 const ValidateFileSystemCallback& callback) OVERRIDE;
81 virtual base::FilePath GetFileSystemRootPathOnFileThread( 81 virtual base::FilePath GetFileSystemRootPathOnFileThread(
82 const FileSystemURL& url, 82 const FileSystemURL& url,
83 bool create) OVERRIDE; 83 bool create) OVERRIDE;
84 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE;
85 virtual bool IsRestrictedFileName(const base::FilePath& filename) const OVERRI DE;
86 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; 84 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE;
87 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; 85 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE;
88 virtual FilePermissionPolicy GetPermissionPolicy( 86 virtual FilePermissionPolicy GetPermissionPolicy(
89 const FileSystemURL& url, 87 const FileSystemURL& url,
90 int permissions) const OVERRIDE; 88 int permissions) const OVERRIDE;
91 virtual FileSystemOperation* CreateFileSystemOperation( 89 virtual FileSystemOperation* CreateFileSystemOperation(
92 const FileSystemURL& url, 90 const FileSystemURL& url,
93 FileSystemContext* context, 91 FileSystemContext* context,
94 base::PlatformFileError* error_code) const OVERRIDE; 92 base::PlatformFileError* error_code) const OVERRIDE;
95 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( 93 virtual webkit_blob::FileStreamReader* CreateFileStreamReader(
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 bool enable_sync_directory_operation_; 230 bool enable_sync_directory_operation_;
233 231
234 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; 232 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_;
235 233
236 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); 234 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider);
237 }; 235 };
238 236
239 } // namespace fileapi 237 } // namespace fileapi
240 238
241 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 239 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/local_file_system_operation.cc ('k') | webkit/fileapi/sandbox_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698