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

Issue 10878041: Remove silly uses of ResourceContext that unnecessarily violate the Law of Demeter. (Closed)

Created:
8 years, 3 months ago by awong
Modified:
8 years, 3 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, jam, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, markusheintz_
Visibility:
Public.

Description

Remove silly uses of ResourceContext that unnecessarily violate the Law of Demeter. BUG=85121 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153642

Patch Set 1 #

Patch Set 2 : remove accidental comment-out. #

Patch Set 3 : rebased #

Patch Set 4 : only the IO thread may grab the controller. #

Total comments: 2

Patch Set 5 : fix 80-cols #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -46 lines) Patch
M chrome/browser/browsing_data/browsing_data_appcache_helper.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_appcache_helper.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/data_deleter.h View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/data_deleter.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M content/browser/browser_context.cc View 1 2 5 chunks +20 lines, -12 lines 0 comments Download
M content/browser/resource_context_impl.cc View 1 2 3 4 3 chunks +35 lines, -15 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
awong
Down with ResourceContext! Down with ResourceContext! Down with ResourceContext! Down with ResourceContext! Down with ResourceContext!
8 years, 3 months ago (2012-08-24 01:50:37 UTC) #1
awong
ping...I can get someone else to review if you're worried about the telescreen watching... On ...
8 years, 3 months ago (2012-08-24 23:38:49 UTC) #2
michaeln
Sorry for the hesitance, i'm a little uneasy about passing the appcacheService* across threads as ...
8 years, 3 months ago (2012-08-25 01:18:08 UTC) #3
awong
You have an interesting point with the scoped_refptr and lifetimes. Infact, I just ran into ...
8 years, 3 months ago (2012-08-27 21:49:31 UTC) #4
michaeln1
On 2012/08/27 21:49:31, awong wrote: > You have an interesting point with the scoped_refptr and ...
8 years, 3 months ago (2012-08-27 23:33:12 UTC) #5
awong
Okay...was just confirming since the LGTM sounded conditional. :) I'll revisit lifetimes later. CQing now. ...
8 years, 3 months ago (2012-08-28 01:06:54 UTC) #6
awong
err..CQ-. OWNER-reviewing now. creis: content kalman: chrome/browser/extensions
8 years, 3 months ago (2012-08-28 01:10:14 UTC) #7
awong
adding kalman@ for realz
8 years, 3 months ago (2012-08-28 01:10:36 UTC) #8
not at google - send to devlin
data_deleter lgtm
8 years, 3 months ago (2012-08-28 01:14:43 UTC) #9
Charlie Reis
content LGTM
8 years, 3 months ago (2012-08-28 01:16:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/10878041/11002
8 years, 3 months ago (2012-08-28 05:32:32 UTC) #11
commit-bot: I haz the power
8 years, 3 months ago (2012-08-28 08:35:57 UTC) #12
Change committed as 153642

Powered by Google App Engine
This is Rietveld 408576698