Convert indirect uses of TestingFactoryFunction

TestingFactoryFunction is a simple function pointer. It is
deprecated in favor of TestingFactory which is a Callback<>.
Convert indirect uses by using base::BindRepeating() in all
invocation of SetTestingFactory/AddTestingFactory.

This converts uses in src//chrome/browser/extensions.

This CL was uploaded by git cl split.

[email protected]

Bug: 809610
Change-Id: I8acd294b25decd9f81be9cb8b76c41f3302644af
Reviewed-on: https://chromium-review.googlesource.com/c/1258171
Commit-Queue: Sylvain Defresne <[email protected]>
Reviewed-by: Istiaque Ahmed <[email protected]>
Cr-Commit-Position: refs/heads/master@{#596632}
12 files changed