diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2017-02-15 05:39:46 -0800 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2017-02-16 13:08:04 +0000 |
commit | 589f21d25f1d96381db348bb27ce466208ad4e30 (patch) | |
tree | 985cdca4e96147be276dbae8dca7d49776513a1c | |
parent | c83a47cc4ca92bee460699590f721fe046604206 (diff) |
Allow using quota management API for non-standard URLs
The DCHECK in quota_manager.cc ensures that only the standard origins
can request persistent storage. This patch removes the DCHECK and allows
qrc:/ and custom URL scheme handlers to use quotas.
Change-Id: I489cd8c8f3da5d927ed6b073940213c4feb4ea0b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/storage/browser/quota/quota_manager.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chromium/storage/browser/quota/quota_manager.cc b/chromium/storage/browser/quota/quota_manager.cc index 79268a61a29..c66e3dd6d05 100644 --- a/chromium/storage/browser/quota/quota_manager.cc +++ b/chromium/storage/browser/quota/quota_manager.cc @@ -903,7 +903,6 @@ void QuotaManager::GetUsageAndQuotaForWebApps( return; } - DCHECK(origin == origin.GetOrigin()); LazyInitialize(); bool unlimited = IsStorageUnlimited(origin, type); |