Commit bfa4c551 authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

Convert base::Bind in chrome/browser/bookmarks

This CL converts base::Bind to base::BindRepeating in the
bookmarks/ folder.

This is a code health CL, no behavior change.

Bug: 1007635
Change-Id: I67cb9491fa8bc275e4df16221a428a8e226f0711
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274159
Auto-Submit: Xida Chen <xidachen@chromium.org>
Commit-Queue: Tommy Nyquist <nyquist@chromium.org>
Reviewed-by: default avatarTommy Nyquist <nyquist@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784242}
parent 097ed8e0
......@@ -23,8 +23,9 @@ std::unique_ptr<KeyedService> BuildManagedBookmarkService(
Profile* profile = Profile::FromBrowserContext(context);
return std::make_unique<bookmarks::ManagedBookmarkService>(
profile->GetPrefs(),
base::Bind(&ManagedBookmarkServiceFactory::GetManagedBookmarksDomain,
base::Unretained(profile)));
base::BindRepeating(
&ManagedBookmarkServiceFactory::GetManagedBookmarksDomain,
base::Unretained(profile)));
}
} // namespace
......
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