| Index: chrome/test/base/web_ui_browser_test.h
|
| diff --git a/chrome/test/base/web_ui_browser_test.h b/chrome/test/base/web_ui_browser_test.h
|
| index 9aff3c221f48ab05fddc279e4e93de82a6892562..ee21dc15663737993350183e5ab1995bd39c1649 100644
|
| --- a/chrome/test/base/web_ui_browser_test.h
|
| +++ b/chrome/test/base/web_ui_browser_test.h
|
| @@ -95,6 +95,11 @@ class WebUIBrowserTest : public JavaScriptBrowserTest {
|
| // handler mocking.
|
| void BrowsePreload(const GURL& browse_to);
|
|
|
| + // Called by javascript-generated test bodies. In addition to doing
|
| + // everything in BrowsePreload(), it also waits until the
|
| + // DidRunWebUIMojoMain() event fires.
|
| + void BrowsePreloadAndWaitForMain(const GURL& browse_to);
|
| +
|
| // Called by javascript-generated test bodies to browse to a page and preload
|
| // the javascript for the given |preload_test_fixture| and
|
| // |preload_test_name|. chrome.send will be overridden to allow javascript
|
|
|