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

Issue 3159040: chromeos: Only look for plugins in Chrome's directory. (Closed)

Created:
10 years, 4 months ago by Daniel Erat
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, John Grabowski, jam, pam+watch_chromium.org, stuartmorgan+watch_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

chromeos: Only look for plugins in Chrome's /opt directory. Per discussion with Zelidrag, Chrome OS puts all of its plugins in /opt/google/chrome/plugins, so we can skip looking anywhere outside of there. Embarrassingly, I also missed the Plugins subdirectory of the user data dir in my previous change. BUG=chromium-os:4194 TEST=tried it on a Chrome OS machine Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57448

Patch Set 1 #

Patch Set 2 : ignore ~/.config/chromium/Plugins #

Patch Set 3 : use safer approach #

Total comments: 2

Patch Set 4 : add explanatory comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M webkit/glue/plugins/plugin_list.cc View 3 2 chunks +6 lines, -0 lines 0 comments Download
M webkit/glue/plugins/plugin_list_posix.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Daniel Erat
10 years, 4 months ago (2010-08-25 23:08:01 UTC) #1
Evan Martin
I wonder if it'd be more reliable to just stub out the AddExtraPluginDir() call completely. ...
10 years, 4 months ago (2010-08-25 23:24:49 UTC) #2
Daniel Erat
Thanks, this seems safer to me too. I've #if-ed out the bodies of PluginList::AddExtraPluginPath() and ...
10 years, 4 months ago (2010-08-26 00:22:30 UTC) #3
Evan Martin
LGTM http://codereview.chromium.org/3159040/diff/6001/7001 File webkit/glue/plugins/plugin_list.cc (right): http://codereview.chromium.org/3159040/diff/6001/7001#newcode48 webkit/glue/plugins/plugin_list.cc:48: #if !defined(OS_CHROMEOS) Can you put a comment on ...
10 years, 4 months ago (2010-08-26 00:24:33 UTC) #4
Daniel Erat
10 years, 4 months ago (2010-08-26 02:06:13 UTC) #5
http://codereview.chromium.org/3159040/diff/6001/7001
File webkit/glue/plugins/plugin_list.cc (right):

http://codereview.chromium.org/3159040/diff/6001/7001#newcode48
webkit/glue/plugins/plugin_list.cc:48: #if !defined(OS_CHROMEOS)
On 2010/08/26 00:24:33, Evan Martin wrote:
> Can you put a comment on this, something like "we only support one plugin
path".
>  Also below.

Done.

Powered by Google App Engine
This is Rietveld 408576698