Lines Matching defs:Closure
20 typedef ::base::Closure Closure;
46 inline Closure* NewPermanentCallback(void (*fn)()) {
47 return new ::base::Closure(::base::Bind(fn));
51 Closure* NewPermanentCallback(
53 return new ::base::Closure(::base::Bind(method, base::Unretained(object)));
64 Closure* NewPermanentCallback(
68 return new ::base::Closure(::base::Bind(method, base::Unretained(object),
73 Closure* NewPermanentCallback(
77 return new ::base::Closure(::base::Bind(fn, arg1, arg2));
81 Closure* NewPermanentCallback(
86 return new ::base::Closure(::base::Bind(method, base::Unretained(object),
100 Closure* NewPermanentCallback(
106 return new ::base::Closure(::base::Bind(method, base::Unretained(object),
112 Closure* NewPermanentCallback(
119 return new ::base::Closure(::base::Bind(method, base::Unretained(object),
123 // Creates a Closure that runs |callback| on |arg|. The returned Closure owns
126 Closure* NewPermanentCallback(
129 return new ::base::Closure(::base::Bind(