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

Unified Diff: content/test/test_content_browser_client.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
« no previous file with comments | « content/test/test_content_browser_client.h ('k') | extensions/shell/browser/shell_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_content_browser_client.cc
diff --git a/content/test/test_content_browser_client.cc b/content/test/test_content_browser_client.cc
index b766e537bbd56138edca58046d000241fa372829..52a7ba6f58424fc6865ca39ce0e6c4bf49937481 100644
--- a/content/test/test_content_browser_client.cc
+++ b/content/test/test_content_browser_client.cc
@@ -6,6 +6,7 @@
#include "base/files/file_path.h"
#include "base/logging.h"
+#include "storage/browser/quota/quota_settings.h"
namespace content {
@@ -23,4 +24,11 @@ base::FilePath TestContentBrowserClient::GetDefaultDownloadDirectory() {
return download_dir_.GetPath();
}
+void TestContentBrowserClient::GetQuotaSettings(
+ BrowserContext* context,
+ StoragePartition* partition,
+ const storage::OptionalQuotaSettingsCallback& callback) {
+ callback.Run(storage::GetHardCodedSettings(100 * 1024 * 1024));
+}
+
} // namespace content
« no previous file with comments | « content/test/test_content_browser_client.h ('k') | extensions/shell/browser/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698