DescriptionAllow Bind() to take a Callback<> and bind all its free parameters.
Basically, turns base::Callback<void(...)> to base::Closure.
It turns out there are a number of use caess where an API takes a callback, and then wants to invoke the Callback on another thread. This piece of syntactic sugar removes the need for custom helper functions.
This isn't quite full currying, however it is much simpler to implement.
BUG=87287
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103446
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|