| 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 32204425539036f746ecac1b4cf28ffaa7d4dbc6..a4cb28b270239b4b6f25260f38b1030fdaef86dc 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
|
|
|