| Index: base/callback_helpers.h
|
| diff --git a/base/callback_helpers.h b/base/callback_helpers.h
|
| index c4b0d867634751fbc3e0dfa3a4b0b7177def79e8..782371f6e71703059aeb6a4022a1aee785f1ad2d 100644
|
| --- a/base/callback_helpers.h
|
| +++ b/base/callback_helpers.h
|
| @@ -37,15 +37,15 @@ class BASE_EXPORT ScopedClosureRunner {
|
|
|
| ScopedClosureRunner(ScopedClosureRunner&& other);
|
|
|
| - // Calls the current closure if it's set and replaces it with the closure from
|
| - // |other|.
|
| + // Releases the current closure if it's set and replaces it with the closure
|
| + // from |other|.
|
| ScopedClosureRunner& operator=(ScopedClosureRunner&& other);
|
|
|
| // Calls the current closure and resets it, so it wont be called again.
|
| - void Reset();
|
| + void RunAndReset();
|
|
|
| - // Calls the current closure and replaces it with the new one.
|
| - void Reset(const Closure& closure);
|
| + // Replaces closure with the new one releasing the old one without calling it.
|
| + void ReplaceClosure(const Closure& closure);
|
|
|
| // Releases the Closure without calling.
|
| Closure Release() WARN_UNUSED_RESULT;
|
|
|