summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorgroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-05 07:50:59 +0000
committergroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-05 07:50:59 +0000
commite1d98e33227a408c11de9b72f34d55a5dc196fe4 (patch)
tree6a799d2e964e6b2b1b0733a398e901e4fe92a5e5 /base
parent9f1f342eccb1f11e320ef880780d40e75d23083b (diff)
downloadchromium_src-e1d98e33227a408c11de9b72f34d55a5dc196fe4.zip
chromium_src-e1d98e33227a408c11de9b72f34d55a5dc196fe4.tar.gz
chromium_src-e1d98e33227a408c11de9b72f34d55a5dc196fe4.tar.bz2
Clarifying base/callback documentation
R=willchan@chromium.org TBR=ajwong@chromium.org Review URL: https://chromiumcodereview.appspot.com/11033037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/callback.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/callback.h b/base/callback.h
index c613890..923ce99 100644
--- a/base/callback.h
+++ b/base/callback.h
@@ -269,6 +269,8 @@
//
// By default Bind() will store copies of all bound parameters, and attempt
// to refcount a target object if the function being bound is a class method.
+// These copies are created even if the function takes parameters as const or
+// non-const references.
//
// To change this behavior, we introduce a set of argument wrappers
// (e.g., Unretained(), and ConstRef()). These are simple container templates