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

Issue 6299010: Reload plugin options from user's preferences after login (Closed)

Created:
9 years, 11 months ago by Dmitry Polukhin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, nkostylev+cc_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Reload plugin options from user's preferences after login Previously PluginService::InitGlobalInstance was called only from BrowserMain i.e. before user profile is mounted. This change adds options reload when user profile is available. I checked boot times are not affected by this change. BUG=chromium-os:7556 TEST=Manual, see issue Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71938

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments resolved #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M chrome/browser/chromeos/login/login_utils.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Dmitry Polukhin
Dave, please take a look to this CL. I don't know who can review such ...
9 years, 11 months ago (2011-01-19 08:55:22 UTC) #1
DaveMoore
This looks ok to me, but I'd like one of the people who worked on ...
9 years, 11 months ago (2011-01-19 18:26:24 UTC) #2
Dmitry Polukhin
Please take a look to this CL.
9 years, 11 months ago (2011-01-20 08:38:36 UTC) #3
Bernhard Bauer
On 2011/01/19 18:26:24, davemoore wrote: > This looks ok to me, but I'd like one ...
9 years, 11 months ago (2011-01-20 09:37:15 UTC) #4
Dmitry Polukhin
Chrome process is restarted. So it is not disabling something in addition to previous state. ...
9 years, 11 months ago (2011-01-20 09:58:44 UTC) #5
Bernhard Bauer
9 years, 11 months ago (2011-01-20 09:59:48 UTC) #6
On 2011/01/20 09:58:44, Dmitry Polukhin wrote:
> Chrome process is restarted. So it is not disabling something in addition to
> previous state. Without my change all plugins are enable for each new login.
> 
>
http://codereview.chromium.org/6299010/diff/1/chrome/browser/chromeos/login/l...
> File chrome/browser/chromeos/login/login_utils.cc (right):
> 
>
http://codereview.chromium.org/6299010/diff/1/chrome/browser/chromeos/login/l...
> chrome/browser/chromeos/login/login_utils.cc:312:
> PluginService::InitGlobalInstance(profile);
> On 2011/01/20 09:37:15, Bernhard Bauer wrote:
> > I'm a bit wary about calling an Init method more than once. If it's just
about
> > setting the correct enabled/disabled state, could you just call
> > 
> >   PluginUpdater::GetInstance()->DisableGroupsFromPrefs(profile)
> > 
> > directly?
> 
> Done.

Great, LGTM then.

Powered by Google App Engine
This is Rietveld 408576698