summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_loader_posix_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Restart plugin loading only if the plugin list has actually become stale.bauerb@chromium.org2014-01-271-15/+39
| | | | | | | | BUG=171404 Review URL: https://codereview.chromium.org/128773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247252 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of UTF conversions in content/ to use the base:: namespace.avi@chromium.org2013-12-251-0/+2
| | | | | | | | | | BUG=330556 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/121033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242483 0039d316-1c4b-4281-b951-d872f2087c98
* Convert string16 to base::string16 in content.brettw@chromium.org2013-12-031-3/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/102593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238447 0039d316-1c4b-4281-b951-d872f2087c98
* Move webplugininfo.h to content/public.jam@chromium.org2013-07-211-18/+12
| | | | | | | | | BUG=237249 TBR=scottmg Review URL: https://codereview.chromium.org/19894003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212812 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of the message_loop header in content/, part 2.avi@chromium.org2013-07-181-1/+1
| | | | | | | | | | BUG=260807 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/19618002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212184 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in content/.avi@chromium.org2013-06-071-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16408017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204917 0039d316-1c4b-4281-b951-d872f2087c98
* content: Use base::MessageLoop.xhwang@chromium.org2013-05-041-2/+2
| | | | | | | | | BUG=236029 R=avi@chromium.org Review URL: https://chromiumcodereview.appspot.com/14335017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198316 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_path.h to base/files.brettw@chromium.org2013-02-241-1/+1
| | | | | | TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
* Use base namespace for FilePath in content/browserbrettw@chromium.org2013-02-071-6/+6
| | | | | | Review URL: https://codereview.chromium.org/12213066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181349 0039d316-1c4b-4281-b951-d872f2087c98
* content: Update calls froms RunAllPending() to RunUntilIdle().tfarina@chromium.org2012-11-101-23/+23
| | | | | | | | | | | BUG=131220 TEST=content_unittests TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/11365186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167096 0039d316-1c4b-4281-b951-d872f2087c98
* Move the remaning files in content\common to the content namespace.jam@chromium.org2012-10-241-9/+10
| | | | | | Review URL: https://codereview.chromium.org/11235068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163732 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, content/browser part 1rsleevi@chromium.org2012-04-271-0/+3
| | | | | | | | | | BUG=123295 TEST=none Review URL: http://codereview.chromium.org/10068037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134395 0039d316-1c4b-4281-b951-d872f2087c98
* PluginLoader loads plugins again after last load completeshclam@chromium.org2012-03-121-2/+9
| | | | | | | | | | | | | | | | | | 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
* PluginLoaderPosix: Fix the case where the utility process crashes after all ↵jhawkins@chromium.org2012-02-011-1/+44
| | | | | | | | | | | | | | plugins have been loaded. 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
* Rename PluginService to PluginServiceImpl.jam@chromium.org2011-12-211-7/+7
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/9019004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115279 0039d316-1c4b-4281-b951-d872f2087c98
* Move PluginPrefs to use PluginService instead of PluginList.rsesek@chromium.org2011-11-111-0/+7
| | | | | | | | | BUG=103788,chromium-os:22447 TEST=unit_tests --gtest_filter=PluginPrefs* Review URL: http://codereview.chromium.org/8515021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109657 0039d316-1c4b-4281-b951-d872f2087c98
* uint32_t -> uint32 in content/browser/plugin_loader_posix.* and include ↵viettrungluu@chromium.org2011-11-091-2/+2
| | | | | | | | | | | basictypes.h. 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
* Send the index in the canonical list over IPC when using the OOP plugin loader.rsesek@chromium.org2011-11-021-15/+15
| | | | | | | | | | | | 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
* [Linux] Load plugins out-of-process.rsesek@chromium.org2011-11-021-0/+37
| | | | | | | | | | | | | | | 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. Originally Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106962 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=106977 Review URL: http://codereview.chromium.org/8372015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108286 0039d316-1c4b-4281-b951-d872f2087c98
* Move BrowserThread to content namespace.joi@chromium.org2011-11-021-0/+1
| | | | | | | | | TBR=owners BUG=98716 Review URL: http://codereview.chromium.org/8437002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108270 0039d316-1c4b-4281-b951-d872f2087c98
* Switch content tests to use BrowserThreadImpl directly.joi@chromium.org2011-10-311-3/+5
| | | | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8400060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107964 0039d316-1c4b-4281-b951-d872f2087c98
* Split BrowserThread into public API and private implementation, step 1.joi@chromium.org2011-10-281-5/+5
| | | | | | | | | | | | | | | | | | | | | 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
* Revert 106962 - Broke plugin_tests - [Linux] Load plugins out-of-process.rsesek@chromium.org2011-10-241-37/+0
| | | | | | | | | | | | | | | | 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 TBR=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
* [Linux] Load plugins out-of-process.rsesek@chromium.org2011-10-241-0/+37
| | | | | | | | | | | | | 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
* Gracefully handle child process death in out-of-process plugin loading.rsesek@chromium.org2011-10-211-0/+278
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