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

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: Rebase to ToT for commit 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
« no previous file with comments | « chrome/test/base/js2gtest.js ('k') | chrome/test/base/web_ui_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/test/base/js2gtest.js ('k') | chrome/test/base/web_ui_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698