Quota: Cap size of requested quota
commitb83d04825b8c8d95eb4e3ca857e1c31c166d0970
authornhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 6 Feb 2014 10:10:07 +0000 (6 10:10 +0000)
committernhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 6 Feb 2014 10:10:07 +0000 (6 10:10 +0000)
tree9f2ac6bcb3378f9baf930a45146c36583df164aa
parent5feea69045b274708422543072f7d2ee12767328
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
content/browser/quota_dispatcher_host.cc
content/browser/quota_dispatcher_host.h
content/child/quota_dispatcher.cc
content/child/quota_dispatcher.h
content/common/quota_messages.h
webkit/browser/quota/quota_manager.cc
webkit/browser/quota/quota_manager.h
webkit/browser/quota/quota_manager_unittest.cc