Add a test for base::Bind() and scoped_refptrs copies.

Specifically tracks the number of AddRef()/Release() pairs called for a
method expecting a "const scoped_refptr<T>&". base::Bind()'s impl
currently leads to too many AddRef()/Release() pairs.

BUG=251937

Review URL: https://chromiumcodereview.appspot.com/17514007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208087 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: edd2f1ba2c272c40ba32a2810784ac3ae17a99b9
1 file changed
tree: ac81a0ee2eda755b1a1016abdbb427168c1130ef
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/