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

Issue 6163003: Added automatic update for plugins based on watching file changes. (Closed)

Created:
9 years, 11 months ago by pastarmovj
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, stuartmorgan+watch_chromium.org, jam
Visibility:
Public.

Description

Added automatic update for plugins based on watching file changes. BUG=48383 TEST=Add or remove some files to a default plugin location and check in about:plugins whether the change got detected. Also part of integration tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71783

Patch Set 1 #

Patch Set 2 : Fixed a line >80chars long. #

Total comments: 12

Patch Set 3 : Fixed nits. #

Patch Set 4 : Removed PurgePluginListCache from the file watchere as it lead to crashes when plugins were in use. #

Total comments: 5

Patch Set 5 : Disabled file watcher for MacOS too many false positives. #

Patch Set 6 : Limited the file watcher to Linux only. #

Total comments: 1

Patch Set 7 : Fixed two typos in comments. #

Patch Set 8 : Removed unused header. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -12 lines) Patch
M chrome/browser/plugin_service.h View 1 2 3 4 5 5 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/plugin_service.cc View 1 2 3 4 5 6 7 7 chunks +71 lines, -9 lines 0 comments Download
M webkit/plugins/npapi/plugin_list.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
pastarmovj
This is the old CL that I wrote before my trip to MTV but now ...
9 years, 11 months ago (2011-01-10 12:20:55 UTC) #1
Bernhard Bauer
http://codereview.chromium.org/6163003/diff/2001/chrome/browser/plugin_service.cc File chrome/browser/plugin_service.cc (right): http://codereview.chromium.org/6163003/diff/2001/chrome/browser/plugin_service.cc#newcode77 chrome/browser/plugin_service.cc:77: BrowserThread::UI, FROM_HERE, Is there are reason you're calling this ...
9 years, 11 months ago (2011-01-10 13:27:19 UTC) #2
jam
lgtm http://codereview.chromium.org/6163003/diff/2001/chrome/browser/plugin_service.cc File chrome/browser/plugin_service.cc (right): http://codereview.chromium.org/6163003/diff/2001/chrome/browser/plugin_service.cc#newcode77 chrome/browser/plugin_service.cc:77: BrowserThread::UI, FROM_HERE, On 2011/01/10 13:27:20, Bernhard Bauer wrote: ...
9 years, 11 months ago (2011-01-10 17:18:10 UTC) #3
Bernhard Bauer
On Mon, Jan 10, 2011 at 18:18, <jam@chromium.org> wrote: > lgtm > > > http://codereview.chromium.org/6163003/diff/2001/chrome/browser/plugin_service.cc ...
9 years, 11 months ago (2011-01-10 17:23:47 UTC) #4
pastarmovj
Fixed the nits. I think the failed trybots are not because of me but I ...
9 years, 11 months ago (2011-01-11 17:17:25 UTC) #5
Bernhard Bauer
LGTM (pending trybot happiness or asserting it's not you ;-) )
9 years, 11 months ago (2011-01-11 17:27:16 UTC) #6
pastarmovj
Please have a look at the comments in http://codereview.chromium.org/6163003/diff/12001/chrome/browser/plugin_service.cc - the change is trivial but ...
9 years, 11 months ago (2011-01-12 16:51:08 UTC) #7
jam
On Wed, Jan 12, 2011 at 8:51 AM, <pastarmovj@chromium.org> wrote: > Please have a look ...
9 years, 11 months ago (2011-01-12 17:14:28 UTC) #8
Bernhard Bauer
On Wed, Jan 12, 2011 at 18:14, John Abd-El-Malek <jam@chromium.org> wrote: > > > On ...
9 years, 11 months ago (2011-01-12 17:25:25 UTC) #9
jam
On Wed, Jan 12, 2011 at 9:17 AM, Bernhard Bauer <bauerb@chromium.org> wrote: > On Wed, ...
9 years, 11 months ago (2011-01-12 17:46:56 UTC) #10
pastarmovj
Disabled the plugin update for mac because I couldn't find a way to switch of ...
9 years, 11 months ago (2011-01-13 11:06:52 UTC) #11
jam
On 2011/01/13 11:06:52, pastarmovj wrote: > Disabled the plugin update for mac because I couldn't ...
9 years, 11 months ago (2011-01-13 19:44:29 UTC) #12
Julian Pastarmov
All these you mentioned should be completely supported through the registry on windows. Given that ...
9 years, 11 months ago (2011-01-13 21:34:30 UTC) #13
jam
Yep, Linux only for now seems to be where we get the benefit, so we ...
9 years, 11 months ago (2011-01-13 21:48:23 UTC) #14
Julian Pastarmov
Sounds good. Will fix it tomorrow :) On Jan 13, 2011 10:48 PM, "John Abd-El-Malek" ...
9 years, 11 months ago (2011-01-13 21:59:56 UTC) #15
stuartmorgan
On 2011/01/13 11:06:52, pastarmovj wrote: > Disabled the plugin update for mac because I couldn't ...
9 years, 11 months ago (2011-01-13 22:11:02 UTC) #16
Bernhard Bauer
On Thu, Jan 13, 2011 at 23:11, <stuartmorgan@chromium.org> wrote: > On 2011/01/13 11:06:52, pastarmovj wrote: ...
9 years, 11 months ago (2011-01-14 08:53:43 UTC) #17
pastarmovj
Please review. Limited the reloading to Linux only as discussed. FYI: The strange access notifications ...
9 years, 11 months ago (2011-01-18 16:23:59 UTC) #18
jam
9 years, 11 months ago (2011-01-18 20:21:31 UTC) #19
lgtm

http://codereview.chromium.org/6163003/diff/32001/chrome/browser/plugin_servi...
File chrome/browser/plugin_service.cc (right):

http://codereview.chromium.org/6163003/diff/32001/chrome/browser/plugin_servi...
chrome/browser/plugin_service.cc:176: // important pluigns register themselves
in the registry so no need to do that.
nit: plugins

Powered by Google App Engine
This is Rietveld 408576698