Add new helper that can adapt Callbacks with return values for Closures.

This is helpful for reducing manually written static functions that just effectively just invoke the function and ignore the return value.

BUG=87287
TEST=new unittest

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

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


CrOS-Libchrome-Original-Commit: e8bfc31d8cbd65213951163ffc28bc6615f71670
2 files changed
tree: f700b10e8d68a8a72d71964bd83f2834c0bbe01d
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/