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

Issue 7084024: Add chrome://quota-internals/ (Closed)

Created:
9 years, 6 months ago by tzik
Modified:
9 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Add chrome://quota-internals/ BUG=84397 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92356

Patch Set 1 #

Total comments: 33

Patch Set 2 : Reflect comments, move QuotaInternals{MessageHandler,Proxy} to .cc. #

Total comments: 41

Patch Set 3 : move QuotaInternals{MessageHandler,Proxy} to other file #

Patch Set 4 : '' #

Total comments: 10

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Total comments: 13

Patch Set 7 : '' #

Total comments: 16

Patch Set 8 : '' #

Total comments: 1

Patch Set 9 : '' #

Patch Set 10 : Rebase, put Value on base namespace #

Patch Set 11 : fix clang compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+724 lines, -38 lines) Patch
M chrome/browser/resources/quota_internals/event_handler.js View 1 2 3 4 5 6 12 chunks +32 lines, -17 lines 0 comments Download
M chrome/browser/resources/quota_internals/message_dispatcher.js View 1 2 3 4 5 6 3 chunks +19 lines, -19 lines 0 comments Download
A chrome/browser/ui/webui/quota_internals_handler.h View 1 2 3 4 5 6 7 8 9 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/quota_internals_handler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/quota_internals_proxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +86 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/quota_internals_proxy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +217 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/quota_internals_types.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +113 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/quota_internals_types.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +99 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/quota_internals_ui.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/quota/quota_manager.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
tzik
This cl is {.h,.cc} part of chrome://quota-internals/, diff to http://codereview.chromium.org/7084024/.
9 years, 6 months ago (2011-05-30 07:46:39 UTC) #1
kinuko
http://codereview.chromium.org/7084024/diff/1/chrome/browser/ui/webui/quota_internals_ui.cc File chrome/browser/ui/webui/quota_internals_ui.cc (right): http://codereview.chromium.org/7084024/diff/1/chrome/browser/ui/webui/quota_internals_ui.cc#newcode20 chrome/browser/ui/webui/quota_internals_ui.cc:20: std::string toString(const T& v) { style-nit: please start function ...
9 years, 6 months ago (2011-05-30 10:18:00 UTC) #2
michaeln
http://codereview.chromium.org/7084024/diff/5002/chrome/browser/ui/webui/quota_internals_ui.cc File chrome/browser/ui/webui/quota_internals_ui.cc (right): http://codereview.chromium.org/7084024/diff/5002/chrome/browser/ui/webui/quota_internals_ui.cc#newcode461 chrome/browser/ui/webui/quota_internals_ui.cc:461: base::WeakPtr<quota::QuotaManager> quota_manager_; can this be a scoped_refptr<> http://codereview.chromium.org/7084024/diff/5002/chrome/browser/ui/webui/quota_internals_ui.cc#newcode521 chrome/browser/ui/webui/quota_internals_ui.cc:521: ...
9 years, 6 months ago (2011-05-30 19:36:57 UTC) #3
tzik
http://codereview.chromium.org/7084024/diff/1/chrome/browser/ui/webui/quota_internals_ui.cc File chrome/browser/ui/webui/quota_internals_ui.cc (right): http://codereview.chromium.org/7084024/diff/1/chrome/browser/ui/webui/quota_internals_ui.cc#newcode20 chrome/browser/ui/webui/quota_internals_ui.cc:20: std::string toString(const T& v) { On 2011/05/30 10:18:00, kinuko ...
9 years, 6 months ago (2011-05-31 04:53:00 UTC) #4
michaeln
Are there any WebUI based things whose data source is on the IO thread, any ...
9 years, 6 months ago (2011-06-01 01:09:32 UTC) #5
Evan Stade
http://codereview.chromium.org/7084024/diff/5002/chrome/browser/ui/webui/quota_internals_ui.cc File chrome/browser/ui/webui/quota_internals_ui.cc (right): http://codereview.chromium.org/7084024/diff/5002/chrome/browser/ui/webui/quota_internals_ui.cc#newcode18 chrome/browser/ui/webui/quota_internals_ui.cc:18: namespace { insert blank line http://codereview.chromium.org/7084024/diff/5002/chrome/browser/ui/webui/quota_internals_ui.cc#newcode35 chrome/browser/ui/webui/quota_internals_ui.cc:35: } insert ...
9 years, 6 months ago (2011-06-01 01:15:04 UTC) #6
tzik
On 2011/06/01 01:09:32, michaeln wrote: > Are there any WebUI based things whose data source ...
9 years, 6 months ago (2011-06-03 15:59:30 UTC) #7
tzik
http://codereview.chromium.org/7084024/diff/5002/chrome/browser/ui/webui/quota_internals_ui.cc File chrome/browser/ui/webui/quota_internals_ui.cc (right): http://codereview.chromium.org/7084024/diff/5002/chrome/browser/ui/webui/quota_internals_ui.cc#newcode18 chrome/browser/ui/webui/quota_internals_ui.cc:18: namespace { On 2011/06/01 01:15:04, Evan Stade wrote: > ...
9 years, 6 months ago (2011-06-03 16:01:19 UTC) #8
tzik
Thanks for you all, http://codereview.chromium.org/7053009/ has landed, then how about this one? Could you look ...
9 years, 6 months ago (2011-06-27 20:43:04 UTC) #9
Evan Stade
http://codereview.chromium.org/7084024/diff/23001/chrome/browser/ui/webui/quota_internals_handler.h File chrome/browser/ui/webui/quota_internals_handler.h (right): http://codereview.chromium.org/7084024/diff/23001/chrome/browser/ui/webui/quota_internals_handler.h#newcode28 chrome/browser/ui/webui/quota_internals_handler.h:28: class GlobalData { class comments on all of these. ...
9 years, 5 months ago (2011-06-28 17:36:49 UTC) #10
tzik
http://codereview.chromium.org/7084024/diff/23001/chrome/browser/ui/webui/quota_internals_handler.h File chrome/browser/ui/webui/quota_internals_handler.h (right): http://codereview.chromium.org/7084024/diff/23001/chrome/browser/ui/webui/quota_internals_handler.h#newcode28 chrome/browser/ui/webui/quota_internals_handler.h:28: class GlobalData { On 2011/06/28 17:36:49, Evan Stade wrote: ...
9 years, 5 months ago (2011-07-01 01:27:05 UTC) #11
kinuko
http://codereview.chromium.org/7084024/diff/32001/chrome/browser/ui/webui/quota_internals_proxy.cc File chrome/browser/ui/webui/quota_internals_proxy.cc (right): http://codereview.chromium.org/7084024/diff/32001/chrome/browser/ui/webui/quota_internals_proxy.cc#newcode26 chrome/browser/ui/webui/quota_internals_proxy.cc:26: available_space)); nit: there seem to be so many mostly-empty ...
9 years, 5 months ago (2011-07-01 06:51:37 UTC) #12
tzik
http://codereview.chromium.org/7084024/diff/32001/chrome/browser/ui/webui/quota_internals_proxy.cc File chrome/browser/ui/webui/quota_internals_proxy.cc (right): http://codereview.chromium.org/7084024/diff/32001/chrome/browser/ui/webui/quota_internals_proxy.cc#newcode26 chrome/browser/ui/webui/quota_internals_proxy.cc:26: available_space)); On 2011/07/01 06:51:37, kinuko wrote: > nit: there ...
9 years, 5 months ago (2011-07-01 18:17:00 UTC) #13
kinuko
A few more nits. The change looks good to me if it looks good to ...
9 years, 5 months ago (2011-07-04 08:24:27 UTC) #14
kinuko
Some more comments about HostData/GlobalData constructor parameters for unavailable/undefined values. http://codereview.chromium.org/7084024/diff/35001/chrome/browser/ui/webui/quota_internals_proxy.cc File chrome/browser/ui/webui/quota_internals_proxy.cc (right): http://codereview.chromium.org/7084024/diff/35001/chrome/browser/ui/webui/quota_internals_proxy.cc#newcode227 ...
9 years, 5 months ago (2011-07-04 08:58:29 UTC) #15
tzik
Thanks. I reflected kinuko-san's comments. Also, I renamed {Global,Host,Origin}Data to {Global,PerHost,PerOrigin}StorageInfo in this change set. ...
9 years, 5 months ago (2011-07-06 22:49:04 UTC) #16
kinuko
quota related c++ code LGTM
9 years, 5 months ago (2011-07-07 10:43:45 UTC) #17
Evan Stade
http://codereview.chromium.org/7084024/diff/39002/chrome/browser/ui/webui/quota_internals_proxy.cc File chrome/browser/ui/webui/quota_internals_proxy.cc (right): http://codereview.chromium.org/7084024/diff/39002/chrome/browser/ui/webui/quota_internals_proxy.cc#newcode54 chrome/browser/ui/webui/quota_internals_proxy.cc:54: if (handler_) seems like you could move this check ...
9 years, 5 months ago (2011-07-07 20:58:17 UTC) #18
tzik
http://codereview.chromium.org/7084024/diff/39002/chrome/browser/ui/webui/quota_internals_proxy.cc File chrome/browser/ui/webui/quota_internals_proxy.cc (right): http://codereview.chromium.org/7084024/diff/39002/chrome/browser/ui/webui/quota_internals_proxy.cc#newcode54 chrome/browser/ui/webui/quota_internals_proxy.cc:54: if (handler_) On 2011/07/07 20:58:17, Evan Stade wrote: > ...
9 years, 5 months ago (2011-07-07 23:00:35 UTC) #19
Evan Stade
lgtm http://codereview.chromium.org/7084024/diff/39002/chrome/browser/ui/webui/quota_internals_types.cc File chrome/browser/ui/webui/quota_internals_types.cc (right): http://codereview.chromium.org/7084024/diff/39002/chrome/browser/ui/webui/quota_internals_types.cc#newcode37 chrome/browser/ui/webui/quota_internals_types.cc:37: dict->SetDouble("usage", static_cast<double>(usage_)); On 2011/07/07 23:00:35, tzik wrote: > ...
9 years, 5 months ago (2011-07-11 20:53:23 UTC) #20
tzik
http://codereview.chromium.org/7084024/diff/39002/chrome/browser/ui/webui/quota_internals_types.cc File chrome/browser/ui/webui/quota_internals_types.cc (right): http://codereview.chromium.org/7084024/diff/39002/chrome/browser/ui/webui/quota_internals_types.cc#newcode37 chrome/browser/ui/webui/quota_internals_types.cc:37: dict->SetDouble("usage", static_cast<double>(usage_)); On 2011/07/11 20:53:23, Evan Stade wrote: > ...
9 years, 5 months ago (2011-07-12 02:43:44 UTC) #21
Evan Stade
yea, it seems you're right. ignore me
9 years, 5 months ago (2011-07-12 15:56:43 UTC) #22
commit-bot: I haz the power
Try job failure for 7084024-55001 (retry) on linux for step "compile" (clobber build). It's a ...
9 years, 5 months ago (2011-07-13 01:55:26 UTC) #23
commit-bot: I haz the power
Commit queue patch verification failed without an error message. Something went wrong, probably a crash, ...
9 years, 5 months ago (2011-07-13 08:08:03 UTC) #24
commit-bot: I haz the power
9 years, 5 months ago (2011-07-13 13:21:12 UTC) #25
Change committed as 92356

Powered by Google App Engine
This is Rietveld 408576698