summaryrefslogtreecommitdiffstats
path: root/base/callback.h.pump
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-13 00:06:28 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-13 00:06:28 +0000
commit7f4ad940481637e20452bc763d83717c7aaa72d3 (patch)
tree36e5df4ee23b75a8845712d70ed3f5771469c8ec /base/callback.h.pump
parent9fc206d750355b6bb698e50e9c6bc6ef669a7bfe (diff)
downloadchromium_src-7f4ad940481637e20452bc763d83717c7aaa72d3.zip
chromium_src-7f4ad940481637e20452bc763d83717c7aaa72d3.tar.gz
chromium_src-7f4ad940481637e20452bc763d83717c7aaa72d3.tar.bz2
base::Bind: Make use of partial currying to get rid of a helper class.
BUG=none TEST=none R=ajwong Review URL: http://codereview.chromium.org/8919016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114122 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/callback.h.pump')
-rw-r--r--base/callback.h.pump6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/callback.h.pump b/base/callback.h.pump
index 82660f3..882cae9 100644
--- a/base/callback.h.pump
+++ b/base/callback.h.pump
@@ -129,7 +129,7 @@ $var MAX_ARITY = 7
// There are three main components to the system:
// 1) The Callback classes.
// 2) The Bind() functions.
-// 3) The arguments wrappers (eg., Unretained() and ConstRef()).
+// 3) The arguments wrappers (e.g., Unretained() and ConstRef()).
//
// The Callback classes represent a generic function pointer. Internally,
// it stores a refcounted piece of state that represents the target function
@@ -165,7 +165,7 @@ $var MAX_ARITY = 7
// to refcount a target object if the function being bound is a class method.
//
// To change this behavior, we introduce a set of argument wrappers
-// (eg. Unretained(), and ConstRef()). These are simple container templates
+// (e.g., Unretained(), and ConstRef()). These are simple container templates
// that are passed by value, and wrap a pointer to argument. See the
// file-level comment in base/bind_helpers.h for more info.
//
@@ -202,7 +202,7 @@ $var MAX_ARITY = 7
// Lastly, tr1::function and tr1::bind has a more general and flexible API.
// This includes things like argument reordering by use of
// tr1::bind::placeholder, support for non-const reference parameters, and some
-// limited amount of subtyping of the tr1::function object (eg.,
+// limited amount of subtyping of the tr1::function object (e.g.,
// tr1::function<int(int)> is convertible to tr1::function<void(int)>).
//
// These are not features that are required in Chromium. Some of them, such as