Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1331)

Unified Diff: chrome/test/base/web_ui_browser_test.h

Issue 365513002: Port identity_internals to mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up TestNavigationObserver. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698