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

Issue 10871034: Make all quota-exceeding messages in the storage API explain what the failure (Closed)

Created:
8 years, 4 months ago by not at google - send to devlin
Modified:
8 years, 3 months ago
Reviewers:
Matt Perry, sky
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, benwells, koz (OOO until 15th September)
Visibility:
Public.

Description

Make all quota-exceeding messages in the storage API explain what the failure is. This involves adding descriptions to all errors from ExtensionsQuotaService, affecting the other APIs that use this (bookmarks and webRequest). BUG=144533 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154415

Patch Set 1 #

Total comments: 6

Patch Set 2 : make everything a named constant #

Total comments: 1

Patch Set 3 : server2 css #

Patch Set 4 : copyright #

Patch Set 5 : fix error message #

Patch Set 6 : update... the other error message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+428 lines, -149 lines) Patch
M chrome/browser/bookmarks/bookmark_extension_api.cc View 1 1 chunk +18 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/test/test_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api.cc View 1 2 5 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_function.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_function.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extensions_quota_service.h View 9 chunks +30 lines, -20 lines 0 comments Download
M chrome/browser/extensions/extensions_quota_service.cc View 5 chunks +44 lines, -22 lines 0 comments Download
M chrome/browser/extensions/extensions_quota_service_unittest.cc View 1 10 chunks +78 lines, -68 lines 0 comments Download
M chrome/browser/extensions/settings/settings_api.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/settings/settings_storage_quota_enforcer.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/bookmarks.json View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/web_request.json View 1 10 chunks +15 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/apps/bookmarks.html View 1 2 chunks +69 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/css/ApiRefStyles.css View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/extensions/bookmarks.html View 1 2 2 chunks +69 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/extensions/webRequest.html View 1 2 2 chunks +40 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/static/css/site.css View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/bookmarks/test.js View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/test/data/extensions/api_test/settings/simple_test/background.js View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 28 (0 generated)
not at google - send to devlin
sky: bookmarks API changes mpcomplete: everything else
8 years, 4 months ago (2012-08-23 06:40:43 UTC) #1
sky
Matt should review the whole thing, the change to c/t and c/b/b LGTM
8 years, 4 months ago (2012-08-23 15:57:05 UTC) #2
Matt Perry
Please file a BUG and link it in the CL description. Then LGTM with nits ...
8 years, 4 months ago (2012-08-23 18:30:35 UTC) #3
not at google - send to devlin
http://codereview.chromium.org/10871034/diff/1/chrome/browser/extensions/settings/settings_api.cc File chrome/browser/extensions/settings/settings_api.cc (right): http://codereview.chromium.org/10871034/diff/1/chrome/browser/extensions/settings/settings_api.cc#newcode159 chrome/browser/extensions/settings/settings_api.cc:159: "MAX_WRITE_OPERATIONS_PER_HOUR")); On 2012/08/23 18:30:35, Matt Perry wrote: > Let's ...
8 years, 4 months ago (2012-08-23 23:46:41 UTC) #4
Matt Perry
http://codereview.chromium.org/10871034/diff/1/chrome/browser/extensions/settings/settings_api.cc File chrome/browser/extensions/settings/settings_api.cc (right): http://codereview.chromium.org/10871034/diff/1/chrome/browser/extensions/settings/settings_api.cc#newcode159 chrome/browser/extensions/settings/settings_api.cc:159: "MAX_WRITE_OPERATIONS_PER_HOUR")); On 2012/08/23 23:46:41, kalman wrote: > On 2012/08/23 ...
8 years, 4 months ago (2012-08-23 23:55:05 UTC) #5
not at google - send to devlin
http://codereview.chromium.org/10871034/diff/1/chrome/browser/extensions/api/web_request/web_request_api.cc File chrome/browser/extensions/api/web_request/web_request_api.cc (right): http://codereview.chromium.org/10871034/diff/1/chrome/browser/extensions/api/web_request/web_request_api.cc#newcode1551 chrome/browser/extensions/api/web_request/web_request_api.cc:1551: : QuotaLimitHeuristic(config, map, "clear cache"), On 2012/08/23 18:30:35, Matt ...
8 years, 4 months ago (2012-08-24 04:45:04 UTC) #6
not at google - send to devlin
ping
8 years, 3 months ago (2012-08-28 04:10:50 UTC) #7
Aaron Boodman
Matt's out on vacation for a week. I'll take a look.
8 years, 3 months ago (2012-08-28 05:22:10 UTC) #8
Aaron Boodman
LGTM
8 years, 3 months ago (2012-08-28 05:29:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10871034/19
8 years, 3 months ago (2012-08-28 05:30:14 UTC) #10
commit-bot: I haz the power
Presubmit check for 10871034-19 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-08-28 05:30:47 UTC) #11
not at google - send to devlin
On 2012/08/28 05:30:47, I haz the power (commit-bot) wrote: > Presubmit check for 10871034-19 failed ...
8 years, 3 months ago (2012-08-28 05:31:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10871034/16002
8 years, 3 months ago (2012-08-28 06:56:18 UTC) #13
commit-bot: I haz the power
Try job failure for 10871034-16002 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 3 months ago (2012-08-28 08:40:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10871034/16005
8 years, 3 months ago (2012-08-29 08:01:02 UTC) #15
commit-bot: I haz the power
Try job failure for 10871034-16005 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 3 months ago (2012-08-29 09:29:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10871034/24005
8 years, 3 months ago (2012-08-30 01:52:31 UTC) #17
commit-bot: I haz the power
Try job failure for 10871034-24005 (retry) (retry) on linux_chromeos for step "browser_tests". It's a second ...
8 years, 3 months ago (2012-08-30 06:40:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10871034/24005
8 years, 3 months ago (2012-08-30 07:11:06 UTC) #19
commit-bot: I haz the power
Try job failure for 10871034-24005 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-08-30 08:39:06 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10871034/24005
8 years, 3 months ago (2012-08-30 09:25:45 UTC) #21
commit-bot: I haz the power
Try job failure for 10871034-24005 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-08-30 11:22:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10871034/24005
8 years, 3 months ago (2012-08-31 00:56:09 UTC) #23
commit-bot: I haz the power
Try job failure for 10871034-24005 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-08-31 03:06:11 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10871034/24005
8 years, 3 months ago (2012-08-31 03:09:07 UTC) #25
commit-bot: I haz the power
Try job failure for 10871034-24005 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-08-31 05:12:06 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10871034/24005
8 years, 3 months ago (2012-08-31 05:15:31 UTC) #27
commit-bot: I haz the power
8 years, 3 months ago (2012-08-31 09:45:31 UTC) #28
Change committed as 154415

Powered by Google App Engine
This is Rietveld 408576698