| 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 ebe22abfc5782d273908898e9b394f3a49c79e32..29a682d460804ca004e4b50d0f0e7ab2d1163787 100644
|
| --- a/webkit/fileapi/file_system_operation_context.h
|
| +++ b/webkit/fileapi/file_system_operation_context.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/supports_user_data.h"
|
| #include "webkit/fileapi/task_runner_bound_observer_list.h"
|
| +#include "webkit/quota/quota_types.h"
|
| #include "webkit/storage/webkit_storage_export.h"
|
|
|
| namespace base {
|
| @@ -42,10 +43,17 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE FileSystemOperationContext
|
| void set_allowed_bytes_growth(const int64& allowed_bytes_growth) {
|
| allowed_bytes_growth_ = allowed_bytes_growth;
|
| }
|
| + void set_quota_limit_type(quota::QuotaLimitType limit_type) {
|
| + quota_limit_type_ = limit_type;
|
| + }
|
|
|
| // Returns the current remaining quota.
|
| int64 allowed_bytes_growth() const { return allowed_bytes_growth_; }
|
|
|
| + quota::QuotaLimitType quota_limit_type() const {
|
| + return quota_limit_type_;
|
| + }
|
| +
|
| // Returns TaskRunner which the operation is performed on.
|
| base::SequencedTaskRunner* task_runner() const {
|
| return task_runner_.get();
|
| @@ -102,6 +110,7 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE FileSystemOperationContext
|
| scoped_refptr<base::SequencedTaskRunner> task_runner_;
|
|
|
| int64 allowed_bytes_growth_;
|
| + quota::QuotaLimitType quota_limit_type_;
|
|
|
| AccessObserverList access_observers_;
|
| ChangeObserverList change_observers_;
|
|
|