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

Unified Diff: base/callback_forward.h

Issue 1507143003: Clean up base::Callback stuff (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: base/callback_forward.h
diff --git a/base/callback_forward.h b/base/callback_forward.h
index 262c306530067c0a42d28c5f1cec0e4f9de537a9..213023d956cd1633216f4bf529c9f6dec552c1dd 100644
--- a/base/callback_forward.h
+++ b/base/callback_forward.h
@@ -10,6 +10,8 @@ namespace base {
template <typename Sig>
class Callback;
+// Syntactic sugar to make Callback<void(void)> easier to declare since it
+// will be used in a lot of APIs with delayed execution.
typedef Callback<void(void)> Closure;
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698