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

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

Issue 10810053: Enables internal filesystem types via Isolated filesystems (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: layout test crash fix 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_TEST_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 const ValidateFileSystemCallback& callback) OVERRIDE; 42 const ValidateFileSystemCallback& callback) OVERRIDE;
43 virtual FilePath GetFileSystemRootPathOnFileThread( 43 virtual FilePath GetFileSystemRootPathOnFileThread(
44 const GURL& origin_url, 44 const GURL& origin_url,
45 FileSystemType type, 45 FileSystemType type,
46 const FilePath& virtual_path, 46 const FilePath& virtual_path,
47 bool create) OVERRIDE; 47 bool create) OVERRIDE;
48 virtual bool IsAccessAllowed(const GURL& origin_url, 48 virtual bool IsAccessAllowed(const GURL& origin_url,
49 FileSystemType type, 49 FileSystemType type,
50 const FilePath& virtual_path) OVERRIDE; 50 const FilePath& virtual_path) OVERRIDE;
51 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; 51 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE;
52 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; 52 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE;
53 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) 53 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path)
54 const OVERRIDE; 54 const OVERRIDE;
55 virtual FileSystemOperationInterface* CreateFileSystemOperation( 55 virtual FileSystemOperationInterface* CreateFileSystemOperation(
56 const FileSystemURL& url, 56 const FileSystemURL& url,
57 FileSystemContext* context) const OVERRIDE; 57 FileSystemContext* context) const OVERRIDE;
58 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( 58 virtual webkit_blob::FileStreamReader* CreateFileStreamReader(
59 const FileSystemURL& url, 59 const FileSystemURL& url,
60 int64 offset, 60 int64 offset,
61 FileSystemContext* context) const OVERRIDE; 61 FileSystemContext* context) const OVERRIDE;
62 virtual FileStreamWriter* CreateFileStreamWriter( 62 virtual FileStreamWriter* CreateFileStreamWriter(
63 const FileSystemURL& url, 63 const FileSystemURL& url,
64 int64 offset, 64 int64 offset,
65 FileSystemContext* context) const OVERRIDE; 65 FileSystemContext* context) const OVERRIDE;
66 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; 66 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
67 67
68 private: 68 private:
69 FilePath base_path_; 69 FilePath base_path_;
70 scoped_ptr<LocalFileUtil> local_file_util_; 70 scoped_ptr<LocalFileUtil> local_file_util_;
71 scoped_ptr<FileSystemQuotaUtil> quota_util_; 71 scoped_ptr<FileSystemQuotaUtil> quota_util_;
72 }; 72 };
73 73
74 } // namespace fileapi 74 } // namespace fileapi
75 75
76 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 76 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider_unittest.cc ('k') | webkit/fileapi/test_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698