Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| 6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "webkit/fileapi/file_system_mount_point_provider.h" | 11 #include "webkit/fileapi/file_system_mount_point_provider.h" |
| 12 | 12 |
| 13 namespace fileapi { | 13 namespace fileapi { |
| 14 | 14 |
| 15 class DraggedFileUtil; | 15 class DraggedFileUtil; |
| 16 class IsolatedContext; | 16 class IsolatedContext; |
| 17 class IsolatedFileUtil; | 17 class IsolatedFileUtil; |
| 18 class MediaPathFilter; | |
| 19 class NativeMediaFileUtil; | |
| 18 | 20 |
| 19 class IsolatedMountPointProvider : public FileSystemMountPointProvider { | 21 class IsolatedMountPointProvider : public FileSystemMountPointProvider { |
| 20 public: | 22 public: |
| 21 typedef FileSystemMountPointProvider::ValidateFileSystemCallback | 23 typedef FileSystemMountPointProvider::ValidateFileSystemCallback |
| 22 ValidateFileSystemCallback; | 24 ValidateFileSystemCallback; |
| 23 | 25 |
| 24 IsolatedMountPointProvider(); | 26 IsolatedMountPointProvider(); |
| 25 virtual ~IsolatedMountPointProvider(); | 27 virtual ~IsolatedMountPointProvider(); |
| 26 | 28 |
| 27 // FileSystemMountPointProvider implementation. | 29 // FileSystemMountPointProvider implementation. |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 49 const FileSystemURL& url, | 51 const FileSystemURL& url, |
| 50 int64 offset, | 52 int64 offset, |
| 51 FileSystemContext* context) const OVERRIDE; | 53 FileSystemContext* context) const OVERRIDE; |
| 52 virtual FileStreamWriter* CreateFileStreamWriter( | 54 virtual FileStreamWriter* CreateFileStreamWriter( |
| 53 const FileSystemURL& url, | 55 const FileSystemURL& url, |
| 54 int64 offset, | 56 int64 offset, |
| 55 FileSystemContext* context) const OVERRIDE; | 57 FileSystemContext* context) const OVERRIDE; |
| 56 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 58 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
| 57 | 59 |
| 58 private: | 60 private: |
| 61 scoped_ptr<MediaPathFilter> media_path_filter_; | |
|
vandebo (ex-Chrome)
2012/08/01 01:11:05
nit: two spaces
tzik
2012/08/01 21:46:06
Done.
| |
| 62 | |
| 59 scoped_ptr<IsolatedFileUtil> isolated_file_util_; | 63 scoped_ptr<IsolatedFileUtil> isolated_file_util_; |
| 60 scoped_ptr<DraggedFileUtil> dragged_file_util_; | 64 scoped_ptr<DraggedFileUtil> dragged_file_util_; |
| 65 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; | |
| 61 }; | 66 }; |
| 62 | 67 |
| 63 } // namespace fileapi | 68 } // namespace fileapi |
| 64 | 69 |
| 65 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 70 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |