IMO sounds not feasible. content::WaitForLoadStop() is used for browsertest, moreover, this function is a synchronous function, it blocks the message loop until the load finish. Whereas for our case we need it  asynchronous so that Application::Install() quits ASAP to run message loop next.