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

Unified Diff: chrome/browser/budget_service/budget.proto

Issue 2255813002: AddEngagementBudget and SpendBudget added to BudgetDatabase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 4 years, 4 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 | « no previous file | chrome/browser/budget_service/budget_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/budget_service/budget.proto
diff --git a/chrome/browser/budget_service/budget.proto b/chrome/browser/budget_service/budget.proto
index e0c76e1655efc16c4872be19eafdf6285f785c66..229ea5370b7a6c2c1a86eb82e16afa084421e910 100644
--- a/chrome/browser/budget_service/budget.proto
+++ b/chrome/browser/budget_service/budget.proto
@@ -9,10 +9,14 @@ package budget_service;
// Chrome requires this.
option optimize_for = LITE_RUNTIME;
-// Next available id: 2
+// Next available id: 3
message Budget {
// The sequence of budget chunks and their expiration times.
repeated BudgetChunk budget = 1;
+
+ // The timestamp of the last time that new engagement budget was awarded.
+ // This stores the internal value needed to construct a base::Time object.
+ optional int64 engagement_last_updated = 2;
}
// Next available id: 3
« no previous file with comments | « no previous file | chrome/browser/budget_service/budget_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698