Add a base class for objects that want to filter messages on the IO thread.  I'll switch the filters to it in future separate changes.

I've also taken out the special case for an initial filter from the IPC classes.  The reason it existed was that there was a race condition of some messages not being filtered if a filter is added after construction but before launching the peer process.  Taking it out allows us to add more than one filter and makes things a little cleaner.
Review URL: http://codereview.chromium.org/5513001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68043 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 4b580bf3020b1e0eaf5b7efad50896b4c62474c5
6 files changed
tree: b5383c73cacf1e4630899e637fcc73abff2ebc63
  1. base/
  2. build/
  3. ipc/
  4. testing/