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

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

Issue 10873055: Changed FileSystemPointProvider::IsAcccessAllowed() to take a single FileSystemURL instead of a tri… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for typos from Kinuko's review. Sorry, I will look more closely at my own diff next time Created 8 years, 4 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 virtual void ValidateFileSystemRoot( 77 virtual void ValidateFileSystemRoot(
78 const GURL& origin_url, 78 const GURL& origin_url,
79 FileSystemType type, 79 FileSystemType type,
80 bool create, 80 bool create,
81 const ValidateFileSystemCallback& callback) OVERRIDE; 81 const ValidateFileSystemCallback& callback) OVERRIDE;
82 virtual FilePath GetFileSystemRootPathOnFileThread( 82 virtual FilePath GetFileSystemRootPathOnFileThread(
83 const GURL& origin_url, 83 const GURL& origin_url,
84 FileSystemType type, 84 FileSystemType type,
85 const FilePath& virtual_path, 85 const FilePath& virtual_path,
86 bool create) OVERRIDE; 86 bool create) OVERRIDE;
87 virtual bool IsAccessAllowed( 87 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE;
88 const GURL& origin_url,
89 FileSystemType type,
90 const FilePath& virtual_path) OVERRIDE;
91 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; 88 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE;
92 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; 89 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE;
93 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) 90 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path)
94 const OVERRIDE; 91 const OVERRIDE;
95 virtual FileSystemOperationInterface* CreateFileSystemOperation( 92 virtual FileSystemOperationInterface* CreateFileSystemOperation(
96 const FileSystemURL& url, 93 const FileSystemURL& url,
97 FileSystemContext* context) const OVERRIDE; 94 FileSystemContext* context) const OVERRIDE;
98 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( 95 virtual webkit_blob::FileStreamReader* CreateFileStreamReader(
99 const FileSystemURL& url, 96 const FileSystemURL& url,
100 int64 offset, 97 int64 offset,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 base::Time next_release_time_for_open_filesystem_stat_; 197 base::Time next_release_time_for_open_filesystem_stat_;
201 198
202 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; 199 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_;
203 200
204 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); 201 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider);
205 }; 202 };
206 203
207 } // namespace fileapi 204 } // namespace fileapi
208 205
209 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 206 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698