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

Unified Diff: components/precache/core/precache_database.h

Issue 2335913002: Add daily quota for precache (Closed)
Patch Set: minor fix Created 4 years, 3 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: components/precache/core/precache_database.h
diff --git a/components/precache/core/precache_database.h b/components/precache/core/precache_database.h
index 1deba5164cfc1393182766dc4403c555c168d1a0..e610ac48c32c9935f2370443ff63f39c35aac9d2 100644
--- a/components/precache/core/precache_database.h
+++ b/components/precache/core/precache_database.h
@@ -115,6 +115,10 @@ class PrecacheDatabase {
// Deletes unfinished work from the database.
void DeleteUnfinishedWork();
+ // Precache quota.
+ void SaveQuota(const PrecacheQuota& quota);
+ PrecacheQuota GetQuota();
+
base::WeakPtr<PrecacheDatabase> GetWeakPtr();
private:

Powered by Google App Engine
This is Rietveld 408576698