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

Issue 8079004: Retrieve per host storage usage from QuotaManager. (Closed)

Created:
9 years, 2 months ago by mnaganov (inactive)
Modified:
7 years, 7 months ago
Reviewers:
kinuko, tzik
CC:
chromium-reviews, darin-cc_chromium.org, John Knottenbelt
Visibility:
Public.

Description

Retrieve per host storage usage from QuotaManager. R=kinuko@chromium.org BUG=none TEST=QuotaManagerTest.GetUsage Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103921

Patch Set 1 #

Total comments: 8

Patch Set 2 : Comments addressed, test added #

Total comments: 2

Patch Set 3 : The final version to land #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -2 lines) Patch
M webkit/quota/quota_manager.h View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M webkit/quota/quota_manager.cc View 1 2 2 chunks +67 lines, -0 lines 0 comments Download
M webkit/quota/quota_manager_unittest.cc View 1 2 5 chunks +49 lines, -0 lines 0 comments Download
M webkit/quota/quota_types.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M webkit/quota/usage_tracker.h View 3 chunks +3 lines, -1 line 0 comments Download
M webkit/quota/usage_tracker.cc View 1 3 chunks +21 lines, -1 line 2 comments Download

Messages

Total messages: 8 (0 generated)
mnaganov (inactive)
Hi Kinuko, This is what I had in mind talking about retrieving current storage usage ...
9 years, 2 months ago (2011-09-29 17:16:26 UTC) #1
kinuko
Sorry for my late iteration; basically it looks good to me. I have a few ...
9 years, 2 months ago (2011-10-03 07:49:20 UTC) #2
mnaganov (inactive)
Thanks! I've addressed your comments and added a test. http://codereview.chromium.org/8079004/diff/1/webkit/quota/quota_manager.cc File webkit/quota/quota_manager.cc (right): http://codereview.chromium.org/8079004/diff/1/webkit/quota/quota_manager.cc#newcode342 webkit/quota/quota_manager.cc:342: ...
9 years, 2 months ago (2011-10-04 03:00:30 UTC) #3
kinuko
LGTM, except one more naming nit! http://codereview.chromium.org/8079004/diff/7001/webkit/quota/quota_manager.cc File webkit/quota/quota_manager.cc (right): http://codereview.chromium.org/8079004/diff/7001/webkit/quota/quota_manager.cc#newcode293 webkit/quota/quota_manager.cc:293: class QuotaManager::GetUsageTask : ...
9 years, 2 months ago (2011-10-04 07:43:03 UTC) #4
mnaganov (inactive)
Thank you very much, Kinuko! http://codereview.chromium.org/8079004/diff/7001/webkit/quota/quota_manager.cc File webkit/quota/quota_manager.cc (right): http://codereview.chromium.org/8079004/diff/7001/webkit/quota/quota_manager.cc#newcode293 webkit/quota/quota_manager.cc:293: class QuotaManager::GetUsageTask : public ...
9 years, 2 months ago (2011-10-04 16:38:41 UTC) #5
tzik
https://codereview.chromium.org/8079004/diff/11002/webkit/quota/usage_tracker.cc File webkit/quota/usage_tracker.cc (right): https://codereview.chromium.org/8079004/diff/11002/webkit/quota/usage_tracker.cc#newcode412 webkit/quota/usage_tracker.cc:412: GetCachedHostUsage(host_iter->first); I'm cleaning up around UsageTracker now. Was there ...
7 years, 7 months ago (2013-05-24 12:03:29 UTC) #6
mnaganov (inactive)
https://codereview.chromium.org/8079004/diff/11002/webkit/quota/usage_tracker.cc File webkit/quota/usage_tracker.cc (right): https://codereview.chromium.org/8079004/diff/11002/webkit/quota/usage_tracker.cc#newcode412 webkit/quota/usage_tracker.cc:412: GetCachedHostUsage(host_iter->first); On 2013/05/24 12:03:29, tzik wrote: > I'm cleaning ...
7 years, 7 months ago (2013-05-24 12:06:58 UTC) #7
tzik
7 years, 7 months ago (2013-05-24 14:29:15 UTC) #8
Message was sent while issue was closed.
On 2013/05/24 12:06:58, Mikhail Naganov (Chromium) wrote:
>
https://codereview.chromium.org/8079004/diff/11002/webkit/quota/usage_tracker.cc
> File webkit/quota/usage_tracker.cc (right):
> 
>
https://codereview.chromium.org/8079004/diff/11002/webkit/quota/usage_tracker...
> webkit/quota/usage_tracker.cc:412: GetCachedHostUsage(host_iter->first);
> On 2013/05/24 12:03:29, tzik wrote:
> > I'm cleaning up around UsageTracker now.
> > Was there any reason to avoid (*host_usage)[host_itr->first]?
> > 
> > If no, I'll replace this.
> 
> I just didn't think about this possibility then. Please replace.

OK, so I will.

Powered by Google App Engine
This is Rietveld 408576698