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

Issue 2243813002: Rename BackgroundBudgetService to BudgetManager (Closed)

Created:
4 years, 4 months ago by harkness
Modified:
4 years, 4 months ago
CC:
chromium-reviews, Peter Beverloo, johnme+watch_chromium.org, harkness+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@budget_database
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename BackgroundBudgetService to BudgetManager It's clear that there's only going to be a single budget service, so "Background" didn't make sense anymore. Also, with an interface named BudgetService and a Mojo service named BudgetService, we needed something other than another BudgetService. The component does manage calls from the Blink and browser layers into the guts of the BudgetDatabase, so BudgetManager makes sense. BUG=617971 Committed: https://crrev.com/bea56c2aeaab7efdbc8dd938b53de48daf5a00cb Cr-Commit-Position: refs/heads/master@{#412186}

Patch Set 1 #

Total comments: 14

Patch Set 2 : code review cleanup #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -673 lines) Patch
D chrome/browser/budget_service/background_budget_service.h View 1 chunk +0 lines, -72 lines 0 comments Download
D chrome/browser/budget_service/background_budget_service.cc View 1 chunk +0 lines, -196 lines 0 comments Download
D chrome/browser/budget_service/background_budget_service_factory.h View 1 chunk +0 lines, -33 lines 0 comments Download
D chrome/browser/budget_service/background_budget_service_factory.cc View 1 chunk +0 lines, -41 lines 0 comments Download
D chrome/browser/budget_service/background_budget_service_unittest.cc View 1 chunk +0 lines, -248 lines 0 comments Download
M chrome/browser/budget_service/budget_database.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + chrome/browser/budget_service/budget_manager.h View 1 4 chunks +10 lines, -10 lines 0 comments Download
A + chrome/browser/budget_service/budget_manager.cc View 5 chunks +11 lines, -12 lines 0 comments Download
A chrome/browser/budget_service/budget_manager_factory.h View 1 chunk +31 lines, -0 lines 0 comments Download
A + chrome/browser/budget_service/budget_manager_factory.cc View 1 chunk +10 lines, -10 lines 0 comments Download
A + chrome/browser/budget_service/budget_manager_unittest.cc View 1 10 chunks +25 lines, -25 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_notification_manager.cc View 1 4 chunks +9 lines, -13 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_factory.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +1 line, -1 line 2 comments Download

Depends on Patchset:

Messages

Total messages: 22 (11 generated)
harkness
There shouldn't be any functional changes, this should just be a rename.
4 years, 4 months ago (2016-08-12 12:29:52 UTC) #2
Peter Beverloo
lgtm % nits https://codereview.chromium.org/2243813002/diff/1/chrome/browser/budget_service/budget_manager.h File chrome/browser/budget_service/budget_manager.h (right): https://codereview.chromium.org/2243813002/diff/1/chrome/browser/budget_service/budget_manager.h#newcode26 chrome/browser/budget_service/budget_manager.h:26: // A budget service to help ...
4 years, 4 months ago (2016-08-12 12:39:47 UTC) #3
harkness
https://codereview.chromium.org/2243813002/diff/1/chrome/browser/budget_service/budget_manager.h File chrome/browser/budget_service/budget_manager.h (right): https://codereview.chromium.org/2243813002/diff/1/chrome/browser/budget_service/budget_manager.h#newcode26 chrome/browser/budget_service/budget_manager.h:26: // A budget service to help Chrome decide how ...
4 years, 4 months ago (2016-08-15 08:05:41 UTC) #4
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/2243813002/20001
4 years, 4 months ago (2016-08-15 10:06:31 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/237928)
4 years, 4 months ago (2016-08-15 10:09:39 UTC) #13
harkness
@holte, could you take a look at histograms.xml please? @bauerb, could you take a look ...
4 years, 4 months ago (2016-08-15 10:17:03 UTC) #15
Bernhard Bauer
prefs LGTM
4 years, 4 months ago (2016-08-15 11:53:22 UTC) #16
Steven Holte
lgtm https://codereview.chromium.org/2243813002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2243813002/diff/20001/tools/metrics/histograms/histograms.xml#oldcode98621 tools/metrics/histograms/histograms.xml:98621: - <suffix name="BackgroundBudgetService" On 2016/08/15 10:17:02, harkness wrote: ...
4 years, 4 months ago (2016-08-15 21:57:31 UTC) #17
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/2243813002/20001
4 years, 4 months ago (2016-08-16 07:19:19 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-16 07:23:19 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 07:26:07 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bea56c2aeaab7efdbc8dd938b53de48daf5a00cb
Cr-Commit-Position: refs/heads/master@{#412186}

Powered by Google App Engine
This is Rietveld 408576698