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

Issue 7290025: BrowsingDataRemover: Getting ChromeAppCacheService directly from Profile. (Closed)

Created:
9 years, 5 months ago by marja(google)
Modified:
9 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

BrowsingDataRemover: Getting ChromeAppCacheService directly from Profile. BrowsingDataRemover was getting ChromeAppCacheService via URLRequestContextGetter and (Chrome)URLRequestContext, even though Profile already has an accessor for it. This also gets rid of the reinterpret_cast of casting URLRequestContext* to ChromeURLRequestContext*. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91327

Patch Set 1 #

Patch Set 2 : Not allowed to access profile_ on IO thread. Caching the ChromeAppCacheService. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -14 lines) Patch
M chrome/browser/browsing_data_remover.h View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/browsing_data_remover.cc View 1 4 chunks +4 lines, -13 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
michaeln
lgtm
9 years, 5 months ago (2011-07-01 01:40:40 UTC) #1
marja(google)
Changes as discussed yesterday. michaeln already said lgtm, but missing lgtm from jochen still.
9 years, 5 months ago (2011-07-01 16:49:47 UTC) #2
commit-bot: I haz the power
Change committed as 91327
9 years, 5 months ago (2011-07-01 18:28:32 UTC) #3
willchan no longer on Chromium
http://codereview.chromium.org/7290025/diff/2001/chrome/browser/browsing_data_remover.cc File chrome/browser/browsing_data_remover.cc (right): http://codereview.chromium.org/7290025/diff/2001/chrome/browser/browsing_data_remover.cc#newcode228 chrome/browser/browsing_data_remover.cc:228: waiting_for_clear_appcache_ = true; Awesome! I was going to do ...
9 years, 5 months ago (2011-07-03 09:11:21 UTC) #4
marja(google)
9 years, 5 months ago (2011-07-06 09:40:01 UTC) #5
http://codereview.chromium.org/7311001/

http://codereview.chromium.org/7290025/diff/2001/chrome/browser/browsing_data...
File chrome/browser/browsing_data_remover.cc (right):

http://codereview.chromium.org/7290025/diff/2001/chrome/browser/browsing_data...
chrome/browser/browsing_data_remover.cc:228: waiting_for_clear_appcache_ = true;
On 2011/07/03 09:11:21, willchan wrote:
> Awesome! I was going to do this cleanup too. Glad to see you did the work for
me
> already. One thing I had done in my local changelist was mimic
database_tracker_
> above, where I don't post the task if appcache_service_ is NULL. I think
that's
> a minor improvement, so I thought I'd point it out. If you're busy, then no
big
> deal. Thanks for killing off that reinterpret_cast.

I created another changelist for that http://codereview.chromium.org/7311001/ (I
guess that was what you meant?) Thanks for the feedback.

Powered by Google App Engine
This is Rietveld 408576698