summaryrefslogtreecommitdiffstats
path: root/content/renderer/plugin_channel_host.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove more plugin code when ENABLE_PLUGINS==0.jam@chromium.org2013-08-071-169/+0
| | | | | | | | R=avi@chromium.org Review URL: https://codereview.chromium.org/22536003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216314 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebPluginPageDelegate since that abstraction isn't needed anymore now ↵jam@chromium.org2013-07-201-66/+1
| | | | | | | | | | | | | that WebPluginImpl lives in content/renderer. Remove IsListeningFilter code which is long dead. BUG=237249 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/19663006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212772 0039d316-1c4b-4281-b951-d872f2087c98
* Move npapi related files from content\child to the new content\child\npapi ↵jam@chromium.org2013-07-191-1/+1
| | | | | | | | | | directory. R=scottmg@chromium.org Review URL: https://codereview.chromium.org/19462016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212513 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of time headers in content/, part 2.avi@chromium.org2013-06-281-1/+1
| | | | | | | | | | BUG=254986 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/18154002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209062 0039d316-1c4b-4281-b951-d872f2087c98
* Update Blink include pathsabarth@chromium.org2013-06-171-1/+1
| | | | | | | | | | | | | This CL changes the majority of include paths from the old Source/WebKit/chromium/public to the new public/web directory. TBR=darin BUG=239545 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/17148003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206664 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of child-only code from content/common to content/childscottmg@chromium.org2013-06-061-1/+1
| | | | | | | | | | | | Was just trying to move content/common/resource_dispatcher.{cc,h}, but that ends up needing a lot of other things to move. TBR=jam@chromium.org BUG=246357 Review URL: https://codereview.chromium.org/16328003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204569 0039d316-1c4b-4281-b951-d872f2087c98
* Rename content/common_child to content/childscottmg@chromium.org2013-06-041-2/+2
| | | | | | | | | | | | As prerequiste for linked bug. TBR=palmer@chromium.org R=jam@chromium.org,jamesr@chromium.org BUG=246357 Review URL: https://chromiumcodereview.appspot.com/16325022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203945 0039d316-1c4b-4281-b951-d872f2087c98
* Update content/ to use scoped_refptr<T>::get() rather than implicit ↵rsleevi@chromium.org2013-06-021-1/+1
| | | | | | | | | | | | | "operator T*" Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/16294003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203624 0039d316-1c4b-4281-b951-d872f2087c98
* Move child-common classes to content/common_childjamesr@chromium.org2013-05-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | We need a place to put code that is shared between child processes of different types but not used in the browser process. For instance, the NPObject bindings code is used in the plugin and renderer processes but depends on WebBindings which the browser shouldn't depend on. Some web platform features require shared code between renderer and worker processe. The WebKit image decoders are used by worker, renderer and utility processes. This creates a content/common_child directory for code shared by more than one child process type. content/common_child can depend on content/common and all content/ subdirs except for content/browser and content/common can depend on it. The java bridge code is (more than a) bit busted since it pulls the NPObject bindings in to the browser, but since this code is only intended for use on android single-process configurations I've just created DEPS exceptions for this bit of code. BUG=241606 Review URL: https://chromiumcodereview.appspot.com/15047014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201252 0039d316-1c4b-4281-b951-d872f2087c98
* Update sys_string_conversions includes in chrome_frame, content, net, and ui.brettw@chromium.org2013-03-281-1/+1
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/13004021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191172 0039d316-1c4b-4281-b951-d872f2087c98
* Linux/ChromeOS Chromium style checker cleanup, content/ edition.rsleevi@chromium.org2013-02-121-3/+5
| | | | | | | | | | | Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 Review URL: https://chromiumcodereview.appspot.com/12210030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181822 0039d316-1c4b-4281-b951-d872f2087c98
* Replace all uses of base/mac/crash_logging.h with base/debug/crash_logging.h.rsesek@chromium.org2013-01-031-5/+5
| | | | | | | | | | This also centralizes most crash keys into a constants file. BUG=77656 Review URL: https://codereview.chromium.org/11734011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174985 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of code in content\common (as well as a few left in renderer) ↵jam@chromium.org2012-10-221-0/+4
| | | | | | | | to the content namespace. Review URL: https://codereview.chromium.org/11227033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163359 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 155094 (reverted by 155241) - Allow PluginChannelHost::Init() to fail ↵shess@chromium.org2012-09-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | | without crashing. [TPM was suspicious of a Windows crash increase on renderer, but this didn't seem related.] r152730 (Retry channel setup for NPAPI plugins) allows NPChannelBase::Init() to fail instead of crashing when the named socket is not found in the cache. PluginChannelHost::Init() assumed the superclass Init() was always successful. BUG=97285,141055 Review URL: https://chromiumcodereview.appspot.com/10919109 TBR=shess@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915129 TBR=shess@chromium.org Review URL: https://chromiumcodereview.appspot.com/10910137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155428 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 155094 - Allow PluginChannelHost::Init() to fail without crashing.shess@chromium.org2012-09-061-4/+2
| | | | | | | | | | | | | | | | | | | [TPM is suspicious of a Windows crash increase on renderer. Seems impossible, but who knows?] r152730 (Retry channel setup for NPAPI plugins) allows NPChannelBase::Init() to fail instead of crashing when the named socket is not found in the cache. PluginChannelHost::Init() assumed the superclass Init() was always successful. BUG=97285,141055 Review URL: https://chromiumcodereview.appspot.com/10919109 TBR=shess@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155241 0039d316-1c4b-4281-b951-d872f2087c98
* Allow PluginChannelHost::Init() to fail without crashing.shess@chromium.org2012-09-061-2/+4
| | | | | | | | | | | | | r152730 (Retry channel setup for NPAPI plugins) allows NPChannelBase::Init() to fail instead of crashing when the named socket is not found in the cache. PluginChannelHost::Init() assumed the superclass Init() was always successful. BUG=97285,141055 Review URL: https://chromiumcodereview.appspot.com/10919109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155094 0039d316-1c4b-4281-b951-d872f2087c98
* Rename IPC Sender and Listener in ppapi, content/public, and content/rendererbrettw@chromium.org2012-06-201-1/+1
| | | | | | | | | | | This is the new name in preparation for deleting the backwards-compatible typedef. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10532162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143282 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Log OnChannelError() bt for CHECK in bug 97285.shess@chromium.org2012-06-121-0/+13
| | | | | | | | | | | | | | http://crrev.com/137896 added code to capture RemoveRoute() called during setup of the channel, for instance if a nested call happened during a sync call. This adds the same check for OnChannelError(). BUG=97285 TEST=crash server. Review URL: https://chromiumcodereview.appspot.com/10538093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141615 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Log stack trace for CHECK in bug 97285.shess@chromium.org2012-05-181-0/+47
| | | | | | | | | | | | | | | | | | | | | The hypothesis in comment #55 on the bug is that while setting up a new channel to an already-connected plugin, NPChannelBase::RemoveRoute() can be called on the earlier channel, so the renderer and plugin channel mappings get out of sync. This will add a Breakpad key encoding the top stack frames when RemoveRoute() is called within the scoped of WebPluginDelegateProxy::Initialize(). objc_zombies.mm already implemented the stackframe-encoding code, so I pulled that to a central location. That code can be left in place when the other code is removed after some traces are generated. BUG=97285 TEST=crash server. Review URL: https://chromiumcodereview.appspot.com/10408004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137896 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, content/browser part 2rsleevi@chromium.org2012-04-281-1/+4
| | | | | | | | | | BUG=123295 TEST=none TBR=brettw Review URL: https://chromiumcodereview.appspot.com/10071038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134446 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA metrics for sync renderer -> (NPAPI) plugin IPC messages.viettrungluu@chromium.org2011-10-211-0/+13
| | | | | | | | | | | | This should allow us to monitor if NPAPI plugins (or our out-of-process NPAPI plugin host) get worse, in the aggregate. It's not as targeted as one might want, but it's the simplest possible measurement and a reasonable start. BUG=none TEST=Play with (windowless) plugins and check about:histograms. Review URL: http://codereview.chromium.org/8373001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106782 0039d316-1c4b-4281-b951-d872f2087c98
* Fix IPC logging on Windows.jam@chromium.org2011-10-171-1/+1
| | | | | | Review URL: http://codereview.chromium.org/8322013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105937 0039d316-1c4b-4281-b951-d872f2087c98
* Add shutdown event argument to NPChannelBase::GetChannel()steveblock@chromium.org2011-09-201-3/+7
| | | | | | | | | | | | | | | | | | Currently NPChannelBase uses ChildProcess::current()->GetShutDownEvent() as the shutdown event for its underlying SyncChannel. This change allows child classes to specify their own shutdown event. This is required to allow NPChannelBase to be used between the renderer and non-child processes. This change is refactoring only and introduces no change in behaviour. BUG=96703 Review URL: http://codereview.chromium.org/7971006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101948 0039d316-1c4b-4281-b951-d872f2087c98
* Move NPObjectBase and PluginChannelBase from content/plugin to content/commonsteveblock@chromium.org2011-09-201-7/+7
| | | | | | | | | | | | Also rename PluginChannelBase to NPChannelBase, fix variable naming to be agnostic of plugins, and fix a comment in NPChannelBase. This change is refactoring only and introduces no change in behaviour. BUG=96703 Review URL: http://codereview.chromium.org/7891003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101874 0039d316-1c4b-4281-b951-d872f2087c98
* Switch IPC::ChannelProxy to use MessageLoopProxy instead of MessageLoop. ↵jam@chromium.org2011-05-021-2/+3
| | | | | | | | This allows us to remove usage of the IOThread object, and generally makes IPC::ChannelProxy more robust for future uses. Review URL: http://codereview.chromium.org/6901146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83741 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of gpu/worker/plugin renderer code to content. I temporarily ↵jam@chromium.org2011-03-171-0/+145
disabled the sad plugin code while I add a renderer chrome interface in a follow up. TBR=avi Review URL: http://codereview.chromium.org/6713005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78579 0039d316-1c4b-4281-b951-d872f2087c98