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

Issue 2915173002: Return empty Budget API buckets if there is no notification permission (Closed)

Created:
3 years, 6 months ago by Peter Beverloo
Modified:
3 years, 6 months ago
Reviewers:
johnme
CC:
chromium-reviews, picksi1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Return empty Budget API buckets if there is no notification permission This change only affects the GetBudget() method that we're experimenting with as part of an Origin Trial. BUG=710809 Review-Url: https://codereview.chromium.org/2915173002 Cr-Commit-Position: refs/heads/master@{#476804} Committed: https://chromium.googlesource.com/chromium/src/+/9c993f78366636eb3b4b4f0a3749a52862c96ee5

Patch Set 1 #

Patch Set 2 : Return empty Budget API buckets if there is no notification permission #

Total comments: 4

Patch Set 3 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -5 lines) Patch
M chrome/browser/budget_service/budget_manager_browsertest.cc View 1 5 chunks +27 lines, -3 lines 0 comments Download
M chrome/browser/budget_service/budget_service_impl.cc View 1 2 2 chunks +29 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
Peter Beverloo
+johnme, PTAL, this is for M60
3 years, 6 months ago (2017-06-02 13:16:40 UTC) #9
johnme
lgtm https://codereview.chromium.org/2915173002/diff/20001/chrome/browser/budget_service/budget_service_impl.cc File chrome/browser/budget_service/budget_service_impl.cc (right): https://codereview.chromium.org/2915173002/diff/20001/chrome/browser/budget_service/budget_service_impl.cc#newcode56 chrome/browser/budget_service/budget_service_impl.cc:56: content::BrowserContext* context = host->GetBrowserContext(); Nit: just do `Profile* ...
3 years, 6 months ago (2017-06-02 16:06:36 UTC) #12
Peter Beverloo
Thanks John! https://codereview.chromium.org/2915173002/diff/20001/chrome/browser/budget_service/budget_service_impl.cc File chrome/browser/budget_service/budget_service_impl.cc (right): https://codereview.chromium.org/2915173002/diff/20001/chrome/browser/budget_service/budget_service_impl.cc#newcode56 chrome/browser/budget_service/budget_service_impl.cc:56: content::BrowserContext* context = host->GetBrowserContext(); On 2017/06/02 16:06:35, ...
3 years, 6 months ago (2017-06-02 17:40:57 UTC) #13
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/2915173002/40001
3 years, 6 months ago (2017-06-02 17:41:36 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/192280)
3 years, 6 months ago (2017-06-02 19:38:37 UTC) #18
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/2915173002/40001
3 years, 6 months ago (2017-06-02 19:44:03 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 21:47:58 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9c993f78366636eb3b4b4f0a3749...

Powered by Google App Engine
This is Rietveld 408576698