Add sync context dispatch restriction.

This adds a way to restrict on a per-channel basis that incoming messages may only be dispatched when that particular channel is sending a sync message (or in a message loop).

It does so to the PPAPI channels, which may not introduce a sync dependency circle.

BUG=chromiumos:13821
TEST=news.google.com with Pepper Flash (see bug)

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

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


CrOS-Libchrome-Original-Commit: 54af05f8ea8050e0ab93dbcc940ac4e1bc4068e5
4 files changed
tree: 5079e488a1fc2953bb9493ca0170912ebbda51ac
  1. base/
  2. build/
  3. ipc/
  4. testing/
  5. third_party/