Commit 3c88e767 authored by Xida Chen's avatar Xida Chen Committed by Chromium LUCI CQ

[Code health] Convert the last base::bind in chrome/browser/profiles

It appears that this is the last spot in chrome/browser/prifles for
base::bind, after this change, there is no base::bind left in this
dir.

Bug: 1152275
Change-Id: Ibedb72b77ae14bc40ff683146793f45b30a40398
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2588638Reviewed-by: default avatarDavid Roger <droger@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#836610}
parent f5639ecf
......@@ -567,7 +567,8 @@ IN_PROC_BROWSER_TEST_F(ProfileManagerBrowserTest, PRE_AddMultipleProfiles) {
profile_manager->GenerateNextProfileDirectoryPath();
base::RunLoop run_loop;
profile_manager->CreateProfileAsync(
path_profile2, base::Bind(&OnUnblockOnProfileCreation, &run_loop),
path_profile2,
base::BindRepeating(&OnUnblockOnProfileCreation, &run_loop),
base::string16(), std::string());
// Run the message loop to allow profile creation to take place; the loop is
// terminated by OnUnblockOnProfileCreation when the profile is created.
......
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