Adding the possibility to build a closure from an ObjectiveC block.
commita5e2cd18bab74fb3fb35727f61c59e6d506f1467
authornoyau@chromium.org <noyau@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Jul 2012 17:47:58 +0000 (25 17:47 +0000)
committernoyau@chromium.org <noyau@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Jul 2012 17:47:58 +0000 (25 17:47 +0000)
tree3eadc3e0e8e35e367d3c485a5b444ef6f572728e
parent8b79d54e48c014264f4d66a323f5fc0e5d498c15
Adding the possibility to build a closure from an ObjectiveC block.

This lead to more readeable ObjectiveC code as the bound code is right next to where it is scheduled as opposed to be outside the class–usually in a separate function in an anonymous namespace.

BUG=None
TEST=None

Review URL: https://chromiumcodereview.appspot.com/10818034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148357 0039d316-1c4b-4281-b951-d872f2087c98
base/base.gyp
base/base.gypi
base/mac/bind_objc_block.h [new file with mode: 0644]
base/mac/bind_objc_block.mm [new file with mode: 0644]
base/mac/bind_objc_block_unittest.mm [new file with mode: 0644]