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

Issue 7838030: WIP: Introduce per-TabContents PrefService. (Closed)

Created:
9 years, 3 months ago by Mattias Nissler (ping if slow)
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

WIP: Introduce per-TabContents PrefService. BUG= TEST=

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use TabContentsWrapper instead of rolling our own TabContents property. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -84 lines) Patch
M chrome/browser/prefs/pref_notifier_impl.h View 3 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/prefs/pref_notifier_impl.cc View 3 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/prefs/pref_service.h View 3 chunks +9 lines, -14 lines 0 comments Download
M chrome/browser/prefs/pref_service.cc View 2 chunks +68 lines, -45 lines 0 comments Download
M chrome/browser/prefs/pref_value_store.h View 4 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/prefs/pref_value_store.cc View 5 chunks +3 lines, -11 lines 0 comments Download
A chrome/browser/prefs/tab_contents_user_pref_store.h View 1 chunk +44 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.h View 1 4 chunks +9 lines, -2 lines 2 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.cc View 1 2 chunks +2 lines, -1 line 1 comment Download

Messages

Total messages: 9 (0 generated)
Mattias Nissler (ping if slow)
Hi guys, here is some code that outlines my proposal. I've commented the important bits. ...
9 years, 3 months ago (2011-09-07 17:54:24 UTC) #1
Avi (use Gerrit)
http://codereview.chromium.org/7838030/diff/1/chrome/browser/profiles/profile.h File chrome/browser/profiles/profile.h (right): http://codereview.chromium.org/7838030/diff/1/chrome/browser/profiles/profile.h#newcode352 chrome/browser/profiles/profile.h:352: // Ideally, this would live in a per-TabContest context ...
9 years, 3 months ago (2011-09-07 18:00:56 UTC) #2
Mattias Nissler (ping if slow)
Thanks Avi for your helpful comment! http://codereview.chromium.org/7838030/diff/1/chrome/browser/profiles/profile.h File chrome/browser/profiles/profile.h (right): http://codereview.chromium.org/7838030/diff/1/chrome/browser/profiles/profile.h#newcode352 chrome/browser/profiles/profile.h:352: // Ideally, this ...
9 years, 3 months ago (2011-09-07 18:24:46 UTC) #3
Torne
On 2011/09/07 17:54:24, Mattias Nissler wrote: > - The per-TabContents PrefService has its own pref ...
9 years, 3 months ago (2011-09-08 14:27:16 UTC) #4
Avi (use Gerrit)
>Why isn't the TabContentsWrapper implementing BrowserContext then, but Profile? Seems like inverted dependencies to uninitiated ...
9 years, 3 months ago (2011-09-08 14:33:37 UTC) #5
Mattias Nissler (ping if slow)
On 2011/09/08 14:27:16, Torne wrote: > On 2011/09/07 17:54:24, Mattias Nissler wrote: > > - ...
9 years, 3 months ago (2011-09-08 14:42:22 UTC) #6
Mattias Nissler (ping if slow)
On Thu, Sep 8, 2011 at 4:33 PM, <avi@chromium.org> wrote: > Why isn't the TabContentsWrapper ...
9 years, 3 months ago (2011-09-08 14:49:56 UTC) #7
Avi (use Gerrit)
On 2011/09/08 14:49:56, Mattias Nissler wrote: > I'm sure there's a good explanation to > ...
9 years, 3 months ago (2011-09-08 15:03:55 UTC) #8
Mattias Nissler (ping if slow)
9 years, 3 months ago (2011-09-08 15:08:20 UTC) #9
On Thu, Sep 8, 2011 at 5:03 PM, <avi@chromium.org> wrote:

> On 2011/09/08 14:49:56, Mattias Nissler wrote:
>
>> I'm sure there's a good explanation to
>> that, and that's what I intended to ask for.
>>
>
> The simple explanation is that TCW was invented to wrap TC long before
> Profile
> had a subset called BrowserContext abstracted to serve as something for
> content.
>
> Whether your scheme makes more sense in the long run is something I need to
> think about. I'm still in the old-school camp of thinking about TCs and
> Profiles, and having chrome correlates for each works for my mental model.


Same for me :) I only see the content part of the code occasionally and
every time I take a look it's different :)


>
>
>
http://codereview.chromium.**org/7838030/<http://codereview.chromium.org/7838...
>

Powered by Google App Engine
This is Rietveld 408576698