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

Unified Diff: base/callback.h

Issue 10821072: Minor fix for base::Bind documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/callback.h
diff --git a/base/callback.h b/base/callback.h
index 6a50cbcb7f597278c9bf821ce7a5cd3938be2c4f..eada958591b245463eeb5a59d86f48b3d4a04239 100644
--- a/base/callback.h
+++ b/base/callback.h
@@ -123,7 +123,7 @@
// the rest when you execute the callback.
//
// void MyFunc(int i, const std::string& str) {}
-// base::Callback<void(int)> cb = base::Bind(&MyFunc, 23);
+// base::Callback<void(const std::string)> cb = base::Bind(&MyFunc, 23);
// cb.Run("hello world");
//
// When calling a function bound parameters are first, followed by unbound
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698