| Index: webkit/fileapi/file_system_operation_context.h
|
| diff --git a/webkit/fileapi/file_system_operation_context.h b/webkit/fileapi/file_system_operation_context.h
|
| index 1cb51b9d44b03b639e776f9ec196c373fe071fcc..30868371617039b3bb5ea5efe1ed6a1f484d57cf 100644
|
| --- a/webkit/fileapi/file_system_operation_context.h
|
| +++ b/webkit/fileapi/file_system_operation_context.h
|
| @@ -12,6 +12,11 @@
|
| #include "webkit/fileapi/file_system_context.h"
|
| #include "webkit/fileapi/file_system_file_util.h"
|
| #include "webkit/fileapi/file_system_types.h"
|
| +#include "webkit/fileapi/media/media_file_system_config.h"
|
| +
|
| +#if defined(SUPPORT_MEDIA_FILESYSTEM)
|
| +#include "webkit/fileapi/media/media_device_interface_impl.h"
|
| +#endif
|
|
|
| namespace base {
|
| class SequencedTaskRunner;
|
| @@ -33,12 +38,27 @@ class FILEAPI_EXPORT_PRIVATE FileSystemOperationContext {
|
| }
|
| int64 allowed_bytes_growth() const { return allowed_bytes_growth_; }
|
|
|
| +#if defined(SUPPORT_MEDIA_FILESYSTEM)
|
| + void set_media_device(MediaDeviceInterfaceImpl* media_device) {
|
| + media_device_ = media_device;
|
| + }
|
| +
|
| + MediaDeviceInterfaceImpl* media_device() const {
|
| + return media_device_.get();
|
| + }
|
| +#endif
|
| +
|
| base::SequencedTaskRunner* file_task_runner() const;
|
|
|
| private:
|
| scoped_refptr<FileSystemContext> file_system_context_;
|
|
|
| int64 allowed_bytes_growth_;
|
| +
|
| +#if defined(SUPPORT_MEDIA_FILESYSTEM)
|
| + // Store the current media device.
|
| + scoped_refptr<MediaDeviceInterfaceImpl> media_device_;
|
| +#endif
|
| };
|
|
|
| } // namespace fileapi
|
|
|