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 0bd5182afd45624cd112327a4281730e2a3298ff..5d394ec19d185db6267568d4c088b6bcb3e5cc74 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 { |
@@ -18,12 +17,16 @@ class IsolatedFileUtil; |
class MediaPathFilter; |
class NativeMediaFileUtil; |
+#if defined(SUPPORT_MEDIA_FILESYSTEM) |
+class DeviceMediaFileUtil; |
+#endif |
+ |
class IsolatedMountPointProvider : public FileSystemMountPointProvider { |
public: |
typedef FileSystemMountPointProvider::ValidateFileSystemCallback |
ValidateFileSystemCallback; |
- IsolatedMountPointProvider(); |
+ explicit IsolatedMountPointProvider(const FilePath& profile_path); |
virtual ~IsolatedMountPointProvider(); |
// FileSystemMountPointProvider implementation. |
@@ -58,11 +61,18 @@ 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<MediaPathFilter> media_path_filter_; |
scoped_ptr<IsolatedFileUtil> isolated_file_util_; |
scoped_ptr<DraggedFileUtil> dragged_file_util_; |
scoped_ptr<NativeMediaFileUtil> native_media_file_util_; |
+ |
+#if defined(SUPPORT_MEDIA_FILESYSTEM) |
+ scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; |
+#endif |
}; |
} // namespace fileapi |