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

Issue 17367: Fix layout test failures. Looks like keying the plugins based on OriginalFil... (Closed)

Created:
11 years, 11 months ago by jam
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix layout test failures. Looks like keying the plugins based on OriginalFileName didn't work, since different filenames might still have the same value (i.e. QuickTime). Instead I did what Firefox does, which is collect the list of directories in one pass, then crawl them in another. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7907

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -145 lines) Patch
M chrome/browser/metrics_log.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/render_messages.h View 3 chunks +0 lines, -3 lines 0 comments Download
M webkit/glue/plugins/plugin_lib.h View 1 chunk +1 line, -2 lines 0 comments Download
M webkit/glue/plugins/plugin_lib.cc View 7 chunks +7 lines, -16 lines 0 comments Download
M webkit/glue/plugins/plugin_list.h View 1 2 4 chunks +23 lines, -22 lines 1 comment Download
M webkit/glue/plugins/plugin_list.cc View 1 2 15 chunks +88 lines, -95 lines 1 comment Download
M webkit/glue/plugins/webplugin_delegate_impl.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M webkit/glue/webplugin.h View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jam
11 years, 11 months ago (2009-01-13 00:14:07 UTC) #1
Evan Martin
+plugin peeps simpler code makes me happy. http://codereview.chromium.org/17367/diff/1/9 File webkit/glue/plugins/plugin_list.cc (right): http://codereview.chromium.org/17367/diff/1/9#newcode357 Line 357: return ...
11 years, 11 months ago (2009-01-13 00:23:53 UTC) #2
jam
http://codereview.chromium.org/17367/diff/1/9 File webkit/glue/plugins/plugin_list.cc (right): http://codereview.chromium.org/17367/diff/1/9#newcode357 Line 357: return true; On 2009/01/13 00:23:53, Evan Martin wrote: ...
11 years, 11 months ago (2009-01-13 00:36:08 UTC) #3
Evan Martin
whoops, meant to LGTM before plugin peeps cc'd for reference. :)
11 years, 11 months ago (2009-01-13 00:40:46 UTC) #4
Avi (use Gerrit)
11 years, 11 months ago (2009-01-13 14:51:36 UTC) #5
http://codereview.chromium.org/17367/diff/44/228
File webkit/glue/plugins/plugin_list.cc (right):

http://codereview.chromium.org/17367/diff/44/228#newcode101
Line 101: directories_to_scan.insert((*extra_plugin_paths_)[i].DirName());
This smells. Someone asks for a specific plugin to be loaded and we load it and
all its siblings?

http://codereview.chromium.org/17367/diff/44/224
File webkit/glue/plugins/plugin_list.h (right):

http://codereview.chromium.org/17367/diff/44/224#newcode91
Line 91: void LoadPluginsFromDir(const FilePath& path);
Too late now, but why abbrev here when we don't abbreviate "directory" in other
function names?

Powered by Google App Engine
This is Rietveld 408576698