base: Cleanup callback types (part 2).

Remove some usage of deprecated callback types in base/*. Where possible
convert to the corresponding once type, otherwise replace with the
repeating type.

Bug: 714018
Change-Id: Idb7bf334fb06a407bf65e4ffb4cc2e19dd8a5195
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1572809
Commit-Queue: kylechar <[email protected]>
Reviewed-by: François Doray <[email protected]>
Cr-Commit-Position: refs/heads/master@{#653580}
diff --git a/base/callback_list_unittest.nc b/base/callback_list_unittest.nc
index 7347f76..c6af89a 100644
--- a/base/callback_list_unittest.nc
+++ b/base/callback_list_unittest.nc
@@ -47,7 +47,7 @@
   FooListener f;
   CallbackList<void(std::unique_ptr<Foo>)> c1;
   std::unique_ptr<CallbackList<void(std::unique_ptr<Foo>)>::Subscription> sub =
-      c1.Add(Bind(&FooListener::GotAScopedFoo, Unretained(&f)));
+      c1.Add(BindRepeating(&FooListener::GotAScopedFoo, Unretained(&f)));
   c1.Notify(std::unique_ptr<Foo>(new Foo()));
 }