0
Commit Graph

23 Commits

Author SHA1 Message Date
thestig@chromium.org
c46cfe209a Cleanup: Use plugin constants in more places.
Review URL: https://chromiumcodereview.appspot.com/10990078

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159133 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-27 22:11:55 +00:00
ibraaaa@google.com
61fcb16bb5 Moves CreateVersionFromString to WebPluginInfo and updates the callers.
6th CL in the series to delete PluginGroup and move Hardcoded plugin group definitions to metadata files.

BUG=124396


Review URL: https://chromiumcodereview.appspot.com/10823434

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154842 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-04 23:08:54 +00:00
bauerb@chromium.org
951ef0bdf8 Add GetSitesWithData and FreeSiteList methods to PPP_Flash_BrowserOperations interface and hook them up in PepperFlashSettingsManager.
BUG=132409
TEST=none


Review URL: https://chromiumcodereview.appspot.com/10825018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148839 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-27 22:46:53 +00:00
isherman@chromium.org
12126d37c6 Remove two deprecated methods from base::Version
BUG=none
TEST=none
TBR=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10683005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146157 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-11 18:40:53 +00:00
brettw@chromium.org
2ddef57a0f Move Pepper files in renderer_host to new subdir.
I'm going to be adding more stuff here and refactoring this existing stuff.
This will mirror content/renderer/pepper.

TEST=none
BUG=none

Review URL: https://chromiumcodereview.appspot.com/10699043

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145360 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-03 19:56:00 +00:00
brettw@chromium.org
d84effeba5 Use IPC::Sender and IPC::Listener in content.
This replaces uses of IPC::Message::Sender with IPC::Sender and
IPC::Channel::Listener with IPC::Listener. I also fixed up header files where
it was obvious.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10662005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143920 0039d316-1c4b-4281-b951-d872f2087c98
2012-06-25 17:03:10 +00:00
jschuh@chromium.org
f0ecb55024 Broker out PPAPI handle duplication
BUG=127449
Review URL: https://chromiumcodereview.appspot.com/10378057

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136686 0039d316-1c4b-4281-b951-d872f2087c98
2012-05-11 22:09:11 +00:00
bauerb@chromium.org
e346424b21 Return a list of plugins that support clearing site data instead of the first one.
BUG=126089
TEST=see bug for manual test


Review URL: http://codereview.chromium.org/10351013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135497 0039d316-1c4b-4281-b951-d872f2087c98
2012-05-05 00:45:38 +00:00
yzshen@chromium.org
54c23f1c25 Fix the PpapiPluginProcessHost::BrokerClient implementation in PluginDataRemoverImpl::Context.
BUG=None
TEST=Pepper Flash ClearSiteData should work on Windows.


Review URL: http://codereview.chromium.org/10310021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135425 0039d316-1c4b-4281-b951-d872f2087c98
2012-05-04 21:01:19 +00:00
rsleevi@chromium.org
fb90c94fa3 RefCounted types should not have public destructors, content/browser part 1
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
2012-04-27 23:40:50 +00:00
viettrungluu@chromium.org
4cce3f3fe0 Fix ClearSiteData for Pepper Flash.
1) Don't pass the path as the site. We don't support site-specific clearing,
   so just pass an empty string.
2) Append the plugin's name to the profile-specific Pepper data directory.


Review URL: http://codereview.chromium.org/10202002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133616 0039d316-1c4b-4281-b951-d872f2087c98
2012-04-24 02:54:04 +00:00
brettw@chromium.org
8be45847f7 This adds a hang monitor for Pepper plugins. It monitors sync messages on the I/O thread of the renderer and sends a message to the browser if it's blocked for too long.
The browser will show an infobar allowing you to terminate the plugin.

BUG=122795

Review URL: https://chromiumcodereview.appspot.com/10014013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132245 0039d316-1c4b-4281-b951-d872f2087c98
2012-04-13 19:49:29 +00:00
brettw@chromium.org
1bf0fb2664 Add an interface for Flash to clear its data.
This mirrors NPP_ClearSiteData. I basically just hooked into the existing infrastructure in the browser process, and create a new plugin.

I changed the NPAPI IPC message to take the max age rather than compute it from the time so I did not have to duplicate the time computation code.

Review URL: https://chromiumcodereview.appspot.com/9981015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132067 0039d316-1c4b-4281-b951-d872f2087c98
2012-04-12 21:44:16 +00:00
tedvessenes@gmail.com
5896fa04bf Convert uses of int ms to TimeDelta in content/browser, ipc, and webkit/plugins.
R=jam@chromium.org
BUG=108171


Review URL: http://codereview.chromium.org/9572035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125324 0039d316-1c4b-4281-b951-d872f2087c98
2012-03-07 04:41:40 +00:00
jam@chromium.org
df02acac84 Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't have setters/getters on it, and make all the functions pure virtual).
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/9369009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121287 0039d316-1c4b-4281-b951-d872f2087c98
2012-02-09 21:03:20 +00:00
ivankr@chromium.org
791ce4ac8d Replace DFATAL with ERROR in PluginDataRemover::OnError.
It was failing regularly with Chrome OS build on the Login screen.

TBR=jam@chromium.org
BUG=None
TEST=Manual: no DCHECK when click 'Add user', 'Cancel' and 'Add user' again on the Login screen.

Review URL: http://codereview.chromium.org/9019010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115327 0039d316-1c4b-4281-b951-d872f2087c98
2011-12-21 13:44:34 +00:00
jam@chromium.org
e67385f309 Rename PluginService to PluginServiceImpl.
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
2011-12-21 06:00:56 +00:00
bauerb@chromium.org
1464ce1eaa Make sure PluginDataRemoverImpl::Init is executed after the constructor has finished.
BUG=106709
TEST=none


Review URL: http://codereview.chromium.org/8848001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113593 0039d316-1c4b-4281-b951-d872f2087c98
2011-12-08 11:14:32 +00:00
jam@chromium.org
4734d0beca Make ChildProcessHost be used through an interface in content/public, instead of by inheritence.
BUG=98716
Review URL: http://codereview.chromium.org/8787004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112878 0039d316-1c4b-4281-b951-d872f2087c98
2011-12-03 07:10:44 +00:00
jam@chromium.org
4cb4310995 Don't make classes derive from ChildProcessHost, and instead have them use it through composition. This cleans up the code and makes it easier to understand (as well as more closely conform to the Google C++ style guide). It also makes it possible to add an interface around ChildProcessHost in a future change.
BUG=98716
Review URL: http://codereview.chromium.org/8774040

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112769 0039d316-1c4b-4281-b951-d872f2087c98
2011-12-02 20:24:49 +00:00
jam@chromium.org
4306c379b6 Get rid of the ChildProcessInfo class. It was carrying unnecessary data, and the fact that some processes inherited from it was confusing. There's now a simpler struct, content::ChildProcessData. BrowserChildProcessHost uses composition instead of inheritence.
BUG=98716
Review URL: http://codereview.chromium.org/8770027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112597 0039d316-1c4b-4281-b951-d872f2087c98
2011-12-02 01:57:53 +00:00
jam@chromium.org
76b70f91d7 Fix race in PluginDataRemoverImpl going away while it's still being used on the IO thread, which was introduced in 110530. This also fix the incorrect usage of PluginService::OpenChannelToNpapiPlugin on the UI thread which existed before.
BUG=104553,cros:23179
Review URL: http://codereview.chromium.org/8603012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110979 0039d316-1c4b-4281-b951-d872f2087c98
2011-11-21 19:31:14 +00:00
jam@chromium.org
d8e682015d Move the PluginDataRemover class to content, and remove the chrome pieces from it. This class really belongs in content because it's part of the web platform. I've also wrapped it with an interface that is used by chrome.
BUG=98716
Review URL: http://codereview.chromium.org/8590016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110530 0039d316-1c4b-4281-b951-d872f2087c98
2011-11-17 18:31:54 +00:00