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

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

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 4 years, 1 month 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/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index d69468a0c9ae77c6eb3a088c5c851fb1cd6ad704..76d57074bbcc447f5318403bccc1e5b9a75ea6c3 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -29,6 +29,7 @@
#include "net/base/mime_util.h"
#include "net/cookies/canonical_cookie.h"
#include "storage/browser/fileapi/file_system_context.h"
+#include "storage/browser/quota/quota_manager.h"
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
#include "ui/base/page_transition_types.h"
#include "ui/base/window_open_disposition.h"
@@ -451,6 +452,12 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual std::unique_ptr<storage::QuotaEvictionPolicy>
GetTemporaryStorageEvictionPolicy(BrowserContext* context);
+ virtual void GetQuotaSettings(
+ content::BrowserContext* context,
+ const base::FilePath& partition_path,
+ bool is_incognito,
+ const storage::OptionalQuotaSettingsCallback& callback);
+
// Informs the embedder that a certificate error has occured. If
// |overridable| is true and if |strict_enforcement| is false, the user
// can ignore the error and continue. The embedder can call the callback

Powered by Google App Engine
This is Rietveld 408576698