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

Issue 10948002: Make quota requests from background pages not crash (Closed)

Created:
8 years, 3 months ago by tzik
Modified:
8 years, 3 months ago
Reviewers:
kinuko, Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Make quota requests from background pages not crash BUG=149804 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158184

Patch Set 1 #

Total comments: 2

Patch Set 2 : +test #

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : drop unneened #include #

Patch Set 5 : simplify #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -7 lines) Patch
M chrome/browser/chrome_quota_permission_context.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_fileapi_apitest.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/request_quota_background/background.js View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/request_quota_background/manifest.json View 1 2 3 4 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
tzik
We need NULL check for tab_contents here, since browser action popup doesn't have it. Could ...
8 years, 3 months ago (2012-09-18 04:59:18 UTC) #1
kinuko
lgtm http://codereview.chromium.org/10948002/diff/1/chrome/browser/chrome_quota_permission_context.cc File chrome/browser/chrome_quota_permission_context.cc (right): http://codereview.chromium.org/10948002/diff/1/chrome/browser/chrome_quota_permission_context.cc#newcode142 chrome/browser/chrome_quota_permission_context.cc:142: tab_contents ? tab_contents->infobar_tab_helper() : NULL; nit: indent
8 years, 3 months ago (2012-09-18 05:03:35 UTC) #2
Nico
test?
8 years, 3 months ago (2012-09-18 05:13:53 UTC) #3
tzik
On 2012/09/18 05:13:53, Nico wrote: > test? OK, I'll add one.
8 years, 3 months ago (2012-09-18 05:33:39 UTC) #4
tzik
I added a regression test. Could you take a look again? For comparison, test only ...
8 years, 3 months ago (2012-09-19 12:08:54 UTC) #5
kinuko
http://codereview.chromium.org/10948002/diff/6003/chrome/browser/chrome_quota_permission_context_browsertest.cc File chrome/browser/chrome_quota_permission_context_browsertest.cc (right): http://codereview.chromium.org/10948002/diff/6003/chrome/browser/chrome_quota_permission_context_browsertest.cc#newcode13 chrome/browser/chrome_quota_permission_context_browsertest.cc:13: #include "chrome/test/base/ui_test_utils.h" this looks a bit too many includes ...
8 years, 3 months ago (2012-09-20 04:43:57 UTC) #6
tzik
http://codereview.chromium.org/10948002/diff/6003/chrome/browser/chrome_quota_permission_context_browsertest.cc File chrome/browser/chrome_quota_permission_context_browsertest.cc (right): http://codereview.chromium.org/10948002/diff/6003/chrome/browser/chrome_quota_permission_context_browsertest.cc#newcode13 chrome/browser/chrome_quota_permission_context_browsertest.cc:13: #include "chrome/test/base/ui_test_utils.h" On 2012/09/20 04:43:57, kinuko wrote: > this ...
8 years, 3 months ago (2012-09-20 05:18:37 UTC) #7
tzik
Could you take another look, Nico?
8 years, 3 months ago (2012-09-21 04:58:46 UTC) #8
Nico
I'd change the description to be more descriptive about what it does ("Make quota requests ...
8 years, 3 months ago (2012-09-21 05:10:21 UTC) #9
tzik
On 2012/09/21 05:10:21, Nico wrote: > I'd change the description to be more descriptive about ...
8 years, 3 months ago (2012-09-21 05:21:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/10948002/15002
8 years, 3 months ago (2012-09-21 05:22:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/10948002/15002
8 years, 3 months ago (2012-09-21 09:16:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/10948002/29002
8 years, 3 months ago (2012-09-22 08:48:13 UTC) #13
commit-bot: I haz the power
8 years, 3 months ago (2012-09-22 11:04:06 UTC) #14
Change committed as 158184

Powered by Google App Engine
This is Rietveld 408576698