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

Unified Diff: webkit/fileapi/isolated_mount_point_provider.h

Issue 10781014: Isolated FS for media devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/file_system_operation_context.h ('k') | webkit/fileapi/isolated_mount_point_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f6340dcbfec3438d2f00334aeea53be62b05abb8..9f36b941ad46f55b1270b34aa4680bea40f816a6 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:
using FileSystemMountPointProvider::ValidateFileSystemCallback;
using FileSystemMountPointProvider::DeleteFileSystemCallback;
- IsolatedMountPointProvider();
+ explicit IsolatedMountPointProvider(const FilePath& profile_path);
virtual ~IsolatedMountPointProvider();
// FileSystemMountPointProvider implementation.
@@ -63,11 +66,18 @@ class IsolatedMountPointProvider : public FileSystemMountPointProvider {
const DeleteFileSystemCallback& callback) 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
« no previous file with comments | « webkit/fileapi/file_system_operation_context.h ('k') | webkit/fileapi/isolated_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698