Apply base_bind_rewriters to //components to update base::Bind to base::BindOnce

This CL applies a refactoring tool at //tools/clang/base_bind_rewriters
to //components, that updates base::Bind to base::BindOnce where the
resulting Callback is immediately converted to OnceCallback.

This reduces the number of base::Bind in //components by 921 (from 2749 to 1828).

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ia07c5b2987e113efcdeccab8f5b4ec290779d128
Reviewed-on: https://chromium-review.googlesource.com/1151035
Commit-Queue: Taiju Tsuiki <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Cr-Commit-Position: refs/heads/master@{#579367}
diff --git a/components/component_updater/timer.cc b/components/component_updater/timer.cc
index 966c3ace..c45d74b 100644
--- a/components/component_updater/timer.cc
+++ b/components/component_updater/timer.cc
@@ -25,7 +25,7 @@
   user_task_ = user_task;
 
   timer_.Start(FROM_HERE, initial_delay,
-               base::Bind(&Timer::OnDelay, base::Unretained(this)));
+               base::BindOnce(&Timer::OnDelay, base::Unretained(this)));
 }
 
 void Timer::Stop() {
@@ -39,7 +39,7 @@
   user_task_.Run();
 
   timer_.Start(FROM_HERE, delay_,
-               base::Bind(&Timer::OnDelay, base::Unretained(this)));
+               base::BindOnce(&Timer::OnDelay, base::Unretained(this)));
 }
 
 }  // namespace component_updater