Chromium Code Reviews| Index: webkit/fileapi/isolated_mount_point_provider.h |
| diff --git a/webkit/fileapi/isolated_mount_point_provider.h b/webkit/fileapi/isolated_mount_point_provider.h |
| index fe6f6bd0aa892cc4b44014a327c27e4e4f4ddb26..11f0e7e0c9c4faeb395bc1b4886ff50689ca3c55 100644 |
| --- a/webkit/fileapi/isolated_mount_point_provider.h |
| +++ b/webkit/fileapi/isolated_mount_point_provider.h |
| @@ -5,10 +5,9 @@ |
| #ifndef WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| -#include <vector> |
| - |
| #include "base/memory/scoped_ptr.h" |
| #include "webkit/fileapi/file_system_mount_point_provider.h" |
| +#include "webkit/fileapi/media/media_file_system_config.h" |
| namespace fileapi { |
| @@ -16,12 +15,16 @@ class DraggedFileUtil; |
| class IsolatedContext; |
| class IsolatedFileUtil; |
| +#if defined(SUPPORT_MEDIA_FILESYSTEM) |
| +class DeviceMediaFileUtil; |
| +#endif |
| + |
| class IsolatedMountPointProvider : public FileSystemMountPointProvider { |
| public: |
| typedef FileSystemMountPointProvider::ValidateFileSystemCallback |
| ValidateFileSystemCallback; |
| - IsolatedMountPointProvider(); |
| + IsolatedMountPointProvider(const FilePath& profile_path); |
|
Lei Zhang
2012/07/31 20:04:37
nit: explicit
kmadhusu
2012/08/01 01:43:59
Done.
|
| virtual ~IsolatedMountPointProvider(); |
| // FileSystemMountPointProvider implementation. |
| @@ -56,8 +59,15 @@ class IsolatedMountPointProvider : public FileSystemMountPointProvider { |
| virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
| private: |
| + // Store the profile path. We need this to create temporary snapshot files. |
| + const FilePath profile_path_; |
| + |
| scoped_ptr<IsolatedFileUtil> isolated_file_util_; |
| scoped_ptr<DraggedFileUtil> dragged_file_util_; |
| + |
| +#if defined(SUPPORT_MEDIA_FILESYSTEM) |
| + scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; |
| +#endif |
| }; |
| } // namespace fileapi |