If the list of plugins has updated before PluginLoader gets a
request to load plugins it occasionally fails to load the entire
list. This happens when PluginLoader is serving the last plugin
load request.
To make sure PluginLoader is up-to-date with the latest plugin
list all plugin load requests are served.
BUG=117561
TEST=content_unittests --gtest_filter=PluginLoader*
R=rsesek
Review URL: http://codereview.chromium.org/9665017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126250 0039d316-1c4b-4281-b951-d872f2087c98
This was causing a crash on load on my system.
BUG=111935
TEST=none
R=rsesek
Review URL: https://chromiumcodereview.appspot.com/9297049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120098 0039d316-1c4b-4281-b951-d872f2087c98
As a side effect, NaClProcessHost and GpuProcessHost are now notified when their respective processes are killed and treat such an occurrence as a crash.
BUG=108871
TEST=
Review URL: http://codereview.chromium.org/9235052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119340 0039d316-1c4b-4281-b951-d872f2087c98
Allow the user of the utility process to specify whether the zygote
should be used on Linux. This allows to sandbox all the uses
of the utility process that don't do FS access, which right now are all
except extension unpacking and NPAPI plugin listing.
This is the first step to get the utility process sandboxed
on Linux. Since most of the uses of the utility process
don't do file access, launching all of those from the zygote
will simplify sandboxing the one that does: extension
unpacking.
BUG=93109
TEST=Try installing an extension from the web store.
Review URL: http://codereview.chromium.org/8770025TBR=jorgelo@chromium.org
Review URL: http://codereview.chromium.org/8817013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113165 0039d316-1c4b-4281-b951-d872f2087c98
Allow the user of the utility process to specify whether the zygote
should be used on Linux. This allows to sandbox all the uses
of the utility process that don't do FS access, which right now are all
except extension unpacking and NPAPI plugin listing.
This is the first step to get the utility process sandboxed
on Linux. Since most of the uses of the utility process
don't do file access, launching all of those from the zygote
will simplify sandboxing the one that does: extension
unpacking.
BUG=93109
TEST=Try installing an extension from the web store.
Review URL: http://codereview.chromium.org/8770025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113027 0039d316-1c4b-4281-b951-d872f2087c98
Also creates MockPluginService for use in tests.
BUG=103788,chromium-os:22447
TEST=none
Review URL: http://codereview.chromium.org/8493019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109532 0039d316-1c4b-4281-b951-d872f2087c98
The header file currently doesn't compile on Windows (unless a definition for
uint32_t is picked up from elsewhere, coincidentally).
Review URL: http://codereview.chromium.org/8511034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109329 0039d316-1c4b-4281-b951-d872f2087c98
Comparing paths does not work all the time on Linux if the plugin is wrapped and
is initially loaded from a symlinked location.
BUG=17863
TEST=Waterfall Linux(dbg)(2) plugin_tests
Review URL: http://codereview.chromium.org/8440042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108306 0039d316-1c4b-4281-b951-d872f2087c98
Only content/ now has the ability to create BrowserThread objects,
with the exception that tests can create the
content::TestBrowserThread subclass, and (temporarily) code in chrome/
can create the DeprecatedBrowserThread subclass.
A follow-up change will make content/ take care of its own thread
creation, remove DeprecatedBrowserThread, and move all state and
non-trivial constructors from BrowserThread down to BrowserThreadImpl.
Also moved BrowserProcessSubThread into content/ namespace. As part
of follow-up cleanup, chrome/ will stop using this class.
BUG=98716
TEST=existing
Review URL: http://codereview.chromium.org/8392042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107718 0039d316-1c4b-4281-b951-d872f2087c98
This also fixes a bug in PluginLoaderPosix where if the last N plugins in the
canonical list crash, the callbacks are never run.
BUG=17863
TEST=On Linux, plugins work as before.
Review URL: http://codereview.chromium.org/8372015TBR=rsesek@chromium.org
Review URL: http://codereview.chromium.org/8351014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106977 0039d316-1c4b-4281-b951-d872f2087c98
This also fixes a bug in PluginLoaderPosix where if the last N plugins in the
canonical list crash, the callbacks are never run.
BUG=17863
TEST=On Linux, plugins work as before.
Review URL: http://codereview.chromium.org/8372015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106962 0039d316-1c4b-4281-b951-d872f2087c98
This also queues requests to load plugins, based on http://codereview.chromium.org/8243010/.
BUG=100053
TEST=Install Sonix webcam driver on OS X Lion and try to load a Flash video. It plays.
Review URL: http://codereview.chromium.org/8318028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106738 0039d316-1c4b-4281-b951-d872f2087c98