Chromium Code Reviews| Index: storage/browser/quota/quota_settings.h |
| diff --git a/storage/browser/quota/quota_settings.h b/storage/browser/quota/quota_settings.h |
| index 5207eb6c9b126e0be4962e3a276bc8d2a115ebab..bbc1ff5cf8907532f2010688f3efae793661f7c0 100644 |
| --- a/storage/browser/quota/quota_settings.h |
| +++ b/storage/browser/quota/quota_settings.h |
| @@ -24,6 +24,7 @@ struct QuotaSettings { |
| int64_t must_remain_available) |
| : pool_size(pool_size), |
| per_host_quota(per_host_quota), |
| + session_only_per_host_quota(per_host_quota), |
| should_remain_available(should_remain_available), |
| must_remain_available(must_remain_available) {} |
| @@ -36,6 +37,10 @@ struct QuotaSettings { |
| // value must be less than or equal to the pool_size. |
| int64_t per_host_quota = 0; |
| + // The amount allotted to origins that are considered session only |
| + // according to the SpecialStoargePolicy provided by the embedder. |
|
jsbell
2017/04/04 16:23:57
typo: 'Stoarge'
michaeln
2017/04/05 01:20:56
Done.
|
| + int64_t session_only_per_host_quota = 0; |
| + |
| // The amount of space that should remain available on the storage |
| // volume. As the volume approaches this limit, the quota system gets |
| // more aggressive about evicting data. |