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

Unified Diff: webkit/chromeos/fileapi/cros_mount_point_provider.h

Issue 9016020: Cleanup FileSystemOperation for preparing for adding FSO-factory method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more cleanup around ValidateFileSystemRoot Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: webkit/chromeos/fileapi/cros_mount_point_provider.h
diff --git a/webkit/chromeos/fileapi/cros_mount_point_provider.h b/webkit/chromeos/fileapi/cros_mount_point_provider.h
index a2d057b524e166c5f558a06c6c31abdfc7a65913..a3a45de218c6d64fafdf28b5f62cb426b5116d70 100644
--- a/webkit/chromeos/fileapi/cros_mount_point_provider.h
+++ b/webkit/chromeos/fileapi/cros_mount_point_provider.h
@@ -28,28 +28,28 @@ class FileAccessPermissions;
class CrosMountPointProvider
: public fileapi::ExternalFileSystemMountPointProvider {
public:
- typedef fileapi::FileSystemMountPointProvider::GetRootPathCallback
- GetRootPathCallback;
+ typedef fileapi::FileSystemMountPointProvider::ValidateFileSystemCallback
+ ValidateFileSystemCallback;
CrosMountPointProvider(
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy);
virtual ~CrosMountPointProvider();
// fileapi::FileSystemMountPointProvider overrides.
- virtual bool IsAccessAllowed(const GURL& origin_url,
- fileapi::FileSystemType type,
- const FilePath& virtual_path) OVERRIDE;
- virtual void ValidateFileSystemRootAndGetURL(
+ virtual void ValidateFileSystemRoot(
const GURL& origin_url,
fileapi::FileSystemType type,
bool create,
- const GetRootPathCallback& callback)
- OVERRIDE;
- virtual FilePath ValidateFileSystemRootAndGetPathOnFileThread(
+ const ValidateFileSystemCallback& callback) OVERRIDE;
+ virtual FilePath GetFileSystemRootPathOnFileThread(
const GURL& origin_url,
fileapi::FileSystemType type,
const FilePath& virtual_path,
bool create) OVERRIDE;
+ virtual bool IsAccessAllowed(
+ const GURL& origin_url,
+ fileapi::FileSystemType type,
+ const FilePath& virtual_path) OVERRIDE;
virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE;
virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE;
virtual fileapi::FileSystemFileUtil* GetFileUtil() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698