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

Issue 2107173002: Add the future storage framework for the BudgetDatabase. (Closed)

Created:
4 years, 5 months ago by harkness
Modified:
4 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the future storage framework for the BudgetDatabase. This isn't currently plugged into the BackgroundBudgetService, but will be in future work. It will be able to store objects that fit the Budget protobuf type, which has pieces of budget that have been allocated, an expiration time for those pieces, and how much (if any) in debt a service worker is. BUG=617971 Committed: https://crrev.com/883658b07cc779484d846289669570b54af5e7f3 Cr-Commit-Position: refs/heads/master@{#405975}

Patch Set 1 #

Total comments: 30

Patch Set 2 : Code review feedback and added histograms.xml update. #

Total comments: 16

Patch Set 3 : Update namespace in test file #

Total comments: 2

Patch Set 4 : Code review comments #

Patch Set 5 : Rebase #

Total comments: 18

Patch Set 6 : nits and fix path error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -2 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/browser/budget_service/BUILD.gn View 1 chunk +3 lines, -2 lines 0 comments Download
A chrome/browser/budget_service/budget.proto View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/budget_service/budget_database.h View 1 2 3 4 5 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/budget_service/budget_database.cc View 1 2 3 4 5 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/budget_service/budget_database_unittest.cc View 1 2 3 4 5 1 chunk +101 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (21 generated)
harkness
4 years, 5 months ago (2016-06-29 11:57:32 UTC) #3
Peter Beverloo
https://codereview.chromium.org/2107173002/diff/1/chrome/browser/budget_service/budget.proto File chrome/browser/budget_service/budget.proto (right): https://codereview.chromium.org/2107173002/diff/1/chrome/browser/budget_service/budget.proto#newcode7 chrome/browser/budget_service/budget.proto:7: package chrome_browser_budget_service; package budget_service; https://codereview.chromium.org/2107173002/diff/1/chrome/browser/budget_service/budget.proto#newcode9 chrome/browser/budget_service/budget.proto:9: // Chrome requires ...
4 years, 5 months ago (2016-06-29 13:37:28 UTC) #4
harkness
https://codereview.chromium.org/2107173002/diff/1/chrome/browser/budget_service/budget.proto File chrome/browser/budget_service/budget.proto (right): https://codereview.chromium.org/2107173002/diff/1/chrome/browser/budget_service/budget.proto#newcode7 chrome/browser/budget_service/budget.proto:7: package chrome_browser_budget_service; On 2016/06/29 13:37:27, Peter Beverloo wrote: > ...
4 years, 5 months ago (2016-06-30 10:41:58 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2107173002/20001
4 years, 5 months ago (2016-06-30 10:42:52 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/214539)
4 years, 5 months ago (2016-06-30 11:21:08 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2107173002/40001
4 years, 5 months ago (2016-06-30 12:39:05 UTC) #11
Peter Beverloo
On 2016/06/30 10:41:58, harkness wrote: > https://codereview.chromium.org/2107173002/diff/1/chrome/browser/budget_service/budget.proto#newcode26 > chrome/browser/budget_service/budget.proto:26: // The timestamp when the budget ...
4 years, 5 months ago (2016-06-30 13:12:46 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/253144)
4 years, 5 months ago (2016-06-30 13:13:40 UTC) #14
harkness
https://codereview.chromium.org/2107173002/diff/20001/chrome/browser/budget_service/budget.proto File chrome/browser/budget_service/budget.proto (right): https://codereview.chromium.org/2107173002/diff/20001/chrome/browser/budget_service/budget.proto#newcode27 chrome/browser/budget_service/budget.proto:27: // The timestamp when the budget expires. Format is ...
4 years, 5 months ago (2016-07-01 12:29:54 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2107173002/60001
4 years, 5 months ago (2016-07-01 12:42:50 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/30065) ios-device-gn on ...
4 years, 5 months ago (2016-07-01 12:44:24 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2107173002/80001
4 years, 5 months ago (2016-07-01 13:32:11 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/249166)
4 years, 5 months ago (2016-07-01 14:08:14 UTC) #23
Peter Beverloo
lgtm % compile fix and nits Thank you! :) https://codereview.chromium.org/2107173002/diff/80001/chrome/browser/budget_service/budget.proto File chrome/browser/budget_service/budget.proto (right): https://codereview.chromium.org/2107173002/diff/80001/chrome/browser/budget_service/budget.proto#newcode28 chrome/browser/budget_service/budget.proto:28: ...
4 years, 5 months ago (2016-07-05 13:01:49 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2107173002/100001
4 years, 5 months ago (2016-07-06 11:13:57 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/240419)
4 years, 5 months ago (2016-07-06 12:09:14 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2107173002/100001
4 years, 5 months ago (2016-07-06 12:28:49 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 13:34:03 UTC) #32
harkness
https://codereview.chromium.org/2107173002/diff/80001/chrome/browser/budget_service/budget.proto File chrome/browser/budget_service/budget.proto (right): https://codereview.chromium.org/2107173002/diff/80001/chrome/browser/budget_service/budget.proto#newcode28 chrome/browser/budget_service/budget.proto:28: // Site Engagement and Webkit and is the number ...
4 years, 5 months ago (2016-07-06 13:42:37 UTC) #33
harkness
@holte, could you take a look at histograms.xml please? @thestig, could you take a look ...
4 years, 5 months ago (2016-07-06 13:48:29 UTC) #35
Lei Zhang
lgtm
4 years, 5 months ago (2016-07-06 17:31:23 UTC) #36
Steven Holte
lgtm
4 years, 5 months ago (2016-07-06 18:55:12 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2107173002/100001
4 years, 5 months ago (2016-07-18 09:11:10 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/105422)
4 years, 5 months ago (2016-07-18 10:10:10 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2107173002/100001
4 years, 5 months ago (2016-07-18 10:34:43 UTC) #44
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-18 11:38:17 UTC) #46
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 11:40:14 UTC) #48
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/883658b07cc779484d846289669570b54af5e7f3
Cr-Commit-Position: refs/heads/master@{#405975}

Powered by Google App Engine
This is Rietveld 408576698