Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2180)

Unified Diff: content/shell/browser/layout_test/layout_test_message_filter.cc

Issue 1782053004: Change how the quota system computes the total poolsize for temporary storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/browser/layout_test/layout_test_message_filter.cc
diff --git a/content/shell/browser/layout_test/layout_test_message_filter.cc b/content/shell/browser/layout_test/layout_test_message_filter.cc
index 248f3e172659bb4f4d1051dd4b0734a37467ca45..fe7ddf46c0a5a2d96031b50ca07c29f723c96f02 100644
--- a/content/shell/browser/layout_test/layout_test_message_filter.cc
+++ b/content/shell/browser/layout_test/layout_test_message_filter.cc
@@ -119,9 +119,7 @@ void LayoutTestMessageFilter::OnClearAllDatabases() {
}
void LayoutTestMessageFilter::OnSetDatabaseQuota(int quota) {
- quota_manager_->SetTemporaryGlobalOverrideQuota(
- quota * storage::QuotaManager::kPerHostTemporaryPortion,
- storage::QuotaCallback());
+ quota_manager_->SetQuotaSettings(storage::GetHardCodedSettings(quota));
}
void LayoutTestMessageFilter::OnSimulateWebNotificationClick(

Powered by Google App Engine
This is Rietveld 408576698