• Sylvain Defresne's avatar
    Convert indirect uses of TestingFactoryFunction · cfa59d94
    Sylvain Defresne authored
    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/profiles.
    
    This CL was uploaded by git cl split.
    
    R=skuhne@chromium.org
    
    Bug: 809610
    Change-Id: Ic45b0fc9fbeb570f14e193b37723234c6ab74ee3
    Reviewed-on: https://chromium-review.googlesource.com/c/1257932Reviewed-by: default avatarStefan Kuhne <skuhne@chromium.org>
    Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#596677}
    cfa59d94
profile_downloader_unittest.cc 7.45 KB