Home | History | Annotate | Download | only in base

Lines Matching refs:Cancel

27 // Cancel().
29 // - After Cancel(), Run() completes but has no effect.
30 TEST(CancelableCallbackTest, Cancel) {
42 cancelable.Cancel();
47 // Cancel() called multiple times.
48 // - Cancel() cancels all copies of the wrapped callback.
49 // - Calling Cancel() more than once has no effect.
50 // - After Cancel(), callback() returns a null callback.
58 cancelable.Cancel();
66 // Calling Cancel() again has no effect.
67 cancelable.Cancel();
93 // Cancel() called on bound closure with a RefCounted parameter.
94 // - Cancel drops wrapped callback (and, implicitly, its bound arguments).
104 // There is only one reference to |ref_counted| after the Cancel().
105 cancelable.Cancel();
145 // - Cancel() transforms the CancelableCallback into a cancelled state.
155 cancelable.Cancel();
175 // Cancel before running the message loop.
176 cancelable.Cancel();