| Index: webkit/fileapi/test_mount_point_provider.h
|
| diff --git a/webkit/fileapi/test_mount_point_provider.h b/webkit/fileapi/test_mount_point_provider.h
|
| index 375684e1982e1c362496093caa95a4ffdee0d691..8a71b77a86f9193bb69b523c233a8cfc0e4472b0 100644
|
| --- a/webkit/fileapi/test_mount_point_provider.h
|
| +++ b/webkit/fileapi/test_mount_point_provider.h
|
| @@ -76,6 +76,13 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE TestMountPointProvider
|
|
|
| const UpdateObserverList* GetUpdateObservers(FileSystemType type) const;
|
|
|
| + // For CopyOrMoveFileValidatorFactory testing. Once it's set to true
|
| + // GetCopyOrMoveFileValidatorFactory will start returning security
|
| + // error if validator is not initialized.
|
| + void set_require_copy_or_move_validator(bool flag) {
|
| + require_copy_or_move_validator_ = flag;
|
| + }
|
| +
|
| private:
|
| class QuotaUtil;
|
|
|
| @@ -84,6 +91,12 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE TestMountPointProvider
|
| scoped_ptr<AsyncFileUtilAdapter> local_file_util_;
|
| scoped_ptr<QuotaUtil> quota_util_;
|
| UpdateObserverList observers_;
|
| +
|
| + bool require_copy_or_move_validator_;
|
| + scoped_ptr<CopyOrMoveFileValidatorFactory>
|
| + copy_or_move_file_validator_factory_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(TestMountPointProvider);
|
| };
|
|
|
| } // namespace fileapi
|
|
|