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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 2592793002: Revert of Change how the quota system computes the total poolsize for temporary storage (Closed)
Patch Set: Created 4 years 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/public/browser/content_browser_client.h ('k') | content/public/test/mock_special_storage_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 53c4b2311ec3c938a5172868a20cd73de7ea28d2..0a55325fb7006c887d70a809eb4fd78f9f329414 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -6,7 +6,6 @@
#include "base/files/file_path.h"
#include "base/guid.h"
-#include "base/logging.h"
#include "build/build_config.h"
#include "content/public/browser/client_certificate_delegate.h"
#include "content/public/browser/memory_coordinator_delegate.h"
@@ -233,12 +232,10 @@ QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() {
return nullptr;
}
-void ContentBrowserClient::GetQuotaSettings(
- BrowserContext* context,
- StoragePartition* partition,
- const storage::OptionalQuotaSettingsCallback& callback) {
- // By default, no quota is provided, embedders should override.
- callback.Run(storage::GetNoQuotaSettings());
+std::unique_ptr<storage::QuotaEvictionPolicy>
+ContentBrowserClient::GetTemporaryStorageEvictionPolicy(
+ content::BrowserContext* context) {
+ return std::unique_ptr<storage::QuotaEvictionPolicy>();
}
void ContentBrowserClient::SelectClientCertificate(
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/test/mock_special_storage_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698