Commit a360b19e authored by Gavin Mak's avatar Gavin Mak Committed by Chromium LUCI CQ

[CodeHealth] Replace base::Bind() calls in KeepAliveScheduler classes

Bug: 1007635
Change-Id: I9efd01370fde3b5263ad5a2af7878ae46b0f86c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2558730Reviewed-by: default avatarRyan Hansberry <hansberry@chromium.org>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Cr-Commit-Position: refs/heads/master@{#831960}
parent 1e7243f0
...@@ -67,8 +67,8 @@ void KeepAliveScheduler::OnActiveHostChanged( ...@@ -67,8 +67,8 @@ void KeepAliveScheduler::OnActiveHostChanged(
active_host_device_ = change_info.new_active_host; active_host_device_ = change_info.new_active_host;
timer_->Start(FROM_HERE, timer_->Start(FROM_HERE,
base::TimeDelta::FromMinutes(kKeepAliveIntervalMinutes), base::TimeDelta::FromMinutes(kKeepAliveIntervalMinutes),
base::Bind(&KeepAliveScheduler::SendKeepAliveTickle, base::BindRepeating(&KeepAliveScheduler::SendKeepAliveTickle,
weak_ptr_factory_.GetWeakPtr())); weak_ptr_factory_.GetWeakPtr()));
SendKeepAliveTickle(); SendKeepAliveTickle();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment