chore: convert View APIs away from base::Bind (#18035)
This commit is contained in:
parent
4a3771ff7f
commit
4ee201c56e
14 changed files with 40 additions and 32 deletions
|
@ -110,7 +110,7 @@ void NetLog::OnNewState(const base::DictionaryValue& state) {
|
|||
for (auto& promise : stop_callback_queue_) {
|
||||
// TODO(zcbenz): Remove the use of CopyablePromise when the
|
||||
// GetFilePathToCompletedLog API accepts OnceCallback.
|
||||
net_log_writer_->GetFilePathToCompletedLog(base::Bind(
|
||||
net_log_writer_->GetFilePathToCompletedLog(base::BindRepeating(
|
||||
util::CopyablePromise::ResolveCopyablePromise<const base::FilePath&>,
|
||||
util::CopyablePromise(promise)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue