summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_test_sink.h
Commit message (Collapse)AuthorAgeFilesLines
* Rent syncemove all uses of the global Dispatcher Get function.brettw@chromium.org2011-02-081-0/+7
| | | | | | | | | | | | | | | | | | | This reqired reworking how plugin->host GetInterface works. Previously, interface requests were symmetric where each side would first do a SupportsInterface to see if the remote side supports the interface, then create the proxy. Since the plugin may talk to multiple renderers, we don't know where to send these requests. The solution is to make the assumption that the renderer always supports all PPB interfaces (which is possible since the proxy is compiled with the executable). This also adds some better lookup for interfaces to avoid having multiple lists of interfaces. We now have a list of interfaces and factory functions in dispatcher.cc. Add some additional testing infrastructure for the dispatchers with simple tests. Review URL: http://codereview.chromium.org/6286070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74121 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for attaching filters to an IPC TestSink.bryner@chromium.org2011-01-311-0/+32
| | | | | | | | | | | | The filters can see every message that is sent to the sink, which is useful when if the test is waiting for a specific message to arrive. BUG=none TEST=none Review URL: http://codereview.chromium.org/6387007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73194 0039d316-1c4b-4281-b951-d872f2087c98
* Move the TestSink for doing IPC tests from chrome/common into IPC and create ↵brettw@google.com2011-01-201-0/+91
| | | | | | | | | | | | a new IPC test_support project that references it. This is necessary because I want to make a test that uses the sink outside of chrome. TEST=this is a test BUG=none Review URL: http://codereview.chromium.org/6290008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72044 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move IPC code to ipc/"agl@chromium.org2009-04-031-84/+0
| | | | | | | This reverts commit r13062 which, unsurprisingly, broke the build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13063 0039d316-1c4b-4281-b951-d872f2087c98
* Move IPC code to ipc/agl@chromium.org2009-04-031-0/+84
(No review URL: Rietvelt couldn't cope) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13062 0039d316-1c4b-4281-b951-d872f2087c98