Lines Matching defs:Closure
18 // Closure should #include "base/callback_forward.h" instead of this file.
35 // is called a base::Closure. Note that this is NOT the same as what other
116 // is called a base::Closure. So we could have also written:
118 // base::Closure cb = base::Bind(&MyFunc, 23, "hello world");
123 // base::Closure cb = base::Bind(&MyClass::MyFunc, this, 23, "hello world");
183 // Closure (base::Callback<void(void)> and base::Closure are the same thing).
189 // base::Closure foo_callback = base::Bind(&foo, base::Owned(pn));
199 // base::Closure cb = base::Bind(&TakesOwnership, base::Passed(&f));
210 // base::Closure cb = base::Bind(&TakesOneRef, f);
221 // base::Closure has_copy = base::Bind(&foo, n);
222 // base::Closure has_ref = base::Bind(&foo, base::ConstRef(n));
766 typedef Callback<void(void)> Closure;