Home | History | Annotate | Download | only in base

Lines Matching full:cancel

29 // Cancel().
31 // - After Cancel(), Run() completes but has no effect.
32 TEST(CancelableCallbackTest, Cancel) {
44 cancelable.Cancel();
49 // Cancel() called multiple times.
50 // - Cancel() cancels all copies of the wrapped callback.
51 // - Calling Cancel() more than once has no effect.
52 // - After Cancel(), callback() returns a null callback.
60 cancelable.Cancel();
68 // Calling Cancel() again has no effect.
69 cancelable.Cancel();
95 // Cancel() called on bound closure with a RefCounted parameter.
96 // - Cancel drops wrapped callback (and, implicitly, its bound arguments).
106 // There is only one reference to |ref_counted| after the Cancel().
107 cancelable.Cancel();
147 // - Cancel() transforms the CancelableCallback into a cancelled state.
157 cancelable.Cancel();
177 // Cancel before running the message loop.
178 cancelable.Cancel();