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

Issue 2265173002: Created Mojo BudgetService implementation in chrome/browser (Closed)

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

Description

Created Mojo BudgetService implementation in chrome/browser This implementation will be invoked from Blink via Mojo and will return the budget information specified in the BudgetAPI. Current implementation only support the getCost call, although the GetBudget call is also defined. BUG=617971 Committed: https://crrev.com/4108cd014d785a83c19ade128fc15c72b1c672c4 Cr-Commit-Position: refs/heads/master@{#414382}

Patch Set 1 #

Patch Set 2 : Store render process ID instead of BrowserContext* #

Total comments: 12

Patch Set 3 : Removed BudgetManager::CostType, and cleanup #

Patch Set 4 : Added check for RenderProcessHost #

Patch Set 5 : Remove use of local variable and call GetCost directly. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -12 lines) Patch
M chrome/browser/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/budget_service/budget_manager.h View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/budget_service/budget_manager.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/budget_service/budget_manager_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
A chrome/browser/budget_service/budget_service_impl.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/budget_service/budget_service_impl.cc View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_notification_manager.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (9 generated)
harkness
4 years, 4 months ago (2016-08-22 17:27:09 UTC) #2
harkness
This has been updated with storing the RenderProcessHost ID instead of the BrowserContext*.
4 years, 4 months ago (2016-08-23 09:40:33 UTC) #3
Peter Beverloo
Thanks :) Given our current iteration speed, have you considered writing up a basic browser ...
4 years, 4 months ago (2016-08-23 10:13:31 UTC) #4
Peter Beverloo
Also— please use a mode descriptive subject for your CL. The one-liner is: "Created Mojo ...
4 years, 4 months ago (2016-08-23 10:14:20 UTC) #5
harkness
re: BrowserTest - I'll do it once I get the WorkerBudget done in Blink. https://codereview.chromium.org/2265173002/diff/20001/chrome/browser/DEPS ...
4 years, 4 months ago (2016-08-23 10:48:33 UTC) #7
harkness
4 years, 4 months ago (2016-08-23 14:37:27 UTC) #8
Peter Beverloo
lgtm
4 years, 4 months ago (2016-08-23 15:12:56 UTC) #9
harkness
+tsepez Please review this and https://codereview.chromium.org/2231873002/ (Added you as a reviewer there also) for Mojo ...
4 years, 4 months ago (2016-08-23 16:38:59 UTC) #11
jam
First question is: why is this in chrome/browser instead of content/browser? chrome/ is generally for ...
4 years, 4 months ago (2016-08-23 17:19:44 UTC) #12
Peter Beverloo
On 2016/08/23 17:19:44, jam wrote: > First question is: why is this in chrome/browser instead ...
4 years, 4 months ago (2016-08-23 17:23:28 UTC) #13
jam
On 2016/08/23 17:23:28, Peter Beverloo wrote: > On 2016/08/23 17:19:44, jam wrote: > > First ...
4 years, 4 months ago (2016-08-23 19:45:31 UTC) #14
jam
lgtm (for others reading: Jen & Peter explained how the budget service implementation is similar ...
4 years, 4 months ago (2016-08-24 18:10:54 UTC) #15
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/2265173002/60001
4 years, 3 months ago (2016-08-25 07:57:42 UTC) #17
commit-bot: I haz the power
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/245625)
4 years, 3 months ago (2016-08-25 08:34:45 UTC) #19
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/2265173002/80001
4 years, 3 months ago (2016-08-25 09:16:26 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-08-25 10:26:38 UTC) #24
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/4108cd014d785a83c19ade128fc15c72b1c672c4 Cr-Commit-Position: refs/heads/master@{#414382}
4 years, 3 months ago (2016-08-25 10:29:08 UTC) #26
Tom Sepez
4 years, 3 months ago (2016-08-25 21:27:05 UTC) #27
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698