Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: base/bind_helpers.h

Issue 23514018: Add Reset to ScopedClosureRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/bind_helpers.cc » ('j') | base/bind_helpers.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/bind_helpers.h
diff --git a/base/bind_helpers.h b/base/bind_helpers.h
index 0cfaab7ece74a5d07817313f977fb919a365c9ff..92c77c657bbf33350a95635293a32e06eb848d2b 100644
--- a/base/bind_helpers.h
+++ b/base/bind_helpers.h
@@ -550,6 +550,7 @@ class BASE_EXPORT ScopedClosureRunner {
explicit ScopedClosureRunner(const Closure& closure);
~ScopedClosureRunner();
+ void Reset(const Closure& closure);
Closure Release();
private:
« no previous file with comments | « no previous file | base/bind_helpers.cc » ('j') | base/bind_helpers.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698