diff options
author | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-06 10:10:07 +0000 |
---|---|---|
committer | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-06 10:10:07 +0000 |
commit | b83d04825b8c8d95eb4e3ca857e1c31c166d0970 (patch) | |
tree | 9f2ac6bcb3378f9baf930a45146c36583df164aa /content/common/quota_messages.h | |
parent | 5feea69045b274708422543072f7d2ee12767328 (diff) | |
download | chromium_src-b83d04825b8c8d95eb4e3ca857e1c31c166d0970.zip chromium_src-b83d04825b8c8d95eb4e3ca857e1c31c166d0970.tar.gz chromium_src-b83d04825b8c8d95eb4e3ca857e1c31c166d0970.tar.bz2 |
Quota: Cap size of requested quota
This change caps size of requested quota as follows:
- Temporary quota is capped at the maximum value of int64
(This is an implementation limitation)
- Persistent quota is capped at 10GB per host
BUG=256288
TEST=content_unittests
NOTRY=true
Review URL: https://codereview.chromium.org/150903003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/quota_messages.h')
-rw-r--r-- | content/common/quota_messages.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/quota_messages.h b/content/common/quota_messages.h index fe35a34..022633d 100644 --- a/content/common/quota_messages.h +++ b/content/common/quota_messages.h @@ -42,4 +42,4 @@ IPC_MESSAGE_CONTROL5(QuotaHostMsg_RequestStorageQuota, int /* request_id */, GURL /* origin_url */, quota::StorageType /* type */, - int64 /* requested_size */) + uint64 /* requested_size */) |