Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: extensions/browser/preload_check_group.cc

Issue 2740853002: Use PreloadCheckGroup in ExtensionInstallChecker. Make RequirementsChecker a PreloadCheck. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/preload_check.h ('k') | extensions/browser/requirements_checker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/preload_check_group.cc
diff --git a/extensions/browser/preload_check_group.cc b/extensions/browser/preload_check_group.cc
index 1dc332f4451472ff9d87e99888e99eef4b70e535..6c029a354328f9ada5f7d211980e939d3ad1c2db 100644
--- a/extensions/browser/preload_check_group.cc
+++ b/extensions/browser/preload_check_group.cc
@@ -32,9 +32,9 @@ void PreloadCheckGroup::Start(ResultCallback callback) {
running_checks_ = checks_.size();
for (auto* check : checks_) {
- check->Start(base::Bind(&PreloadCheckGroup::OnCheckComplete,
- weak_ptr_factory_.GetWeakPtr(), check,
- current_sequence_number_));
+ check->Start(base::BindOnce(&PreloadCheckGroup::OnCheckComplete,
+ weak_ptr_factory_.GetWeakPtr(), check,
+ current_sequence_number_));
// Synchronous checks may fail immediately.
if (running_checks_ == 0)
return;
« no previous file with comments | « extensions/browser/preload_check.h ('k') | extensions/browser/requirements_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698