Lines Matching full:cancel
36 // Cancel().
38 // - After Cancel(), Run() completes but has no effect.
39 TEST(CancelableCallbackTest, Cancel) { in TEST() argument
51 cancelable.Cancel(); in TEST()
56 // Cancel() called multiple times.
57 // - Cancel() cancels all copies of the wrapped callback.
58 // - Calling Cancel() more than once has no effect.
59 // - After Cancel(), callback() returns a null callback.
67 cancelable.Cancel(); in TEST()
75 // Calling Cancel() again has no effect. in TEST()
76 cancelable.Cancel(); in TEST()
102 // Cancel() called on bound closure with a RefCounted parameter.
103 // - Cancel drops wrapped callback (and, implicitly, its bound arguments).
113 // There is only one reference to |ref_counted| after the Cancel(). in TEST()
114 cancelable.Cancel(); in TEST()
153 // - Cancel() transforms the CancelableOnceCallback into a cancelled state.
162 cancelable.Cancel(); in TEST()
185 // Cancel before running the task. in TEST()
186 cancelable.Cancel(); in TEST()
198 // Cancel before running the task. in TEST()
199 cancelable.Cancel(); in TEST()
232 // Cancel before running the tasks. in TEST()
233 cancelable_reply.Cancel(); in TEST()