Index: content/public/test/content_browser_test_utils.h |
diff --git a/content/public/test/content_browser_test_utils.h b/content/public/test/content_browser_test_utils.h |
index 8c6d7bdc364467f5f1bbee8fb989eea1f23aa7e6..b3c5585b7b49f6aea838acbb157640a04150dc2f 100644 |
--- a/content/public/test/content_browser_test_utils.h |
+++ b/content/public/test/content_browser_test_utils.h |
@@ -25,6 +25,7 @@ class Rect; |
namespace content { |
class MessageLoopRunner; |
+class FrameTreeNode; |
class Shell; |
// Generate the file path for testing a particular test. |
@@ -47,6 +48,10 @@ void LoadDataWithBaseURL(Shell* window, |
const std::string data, |
const GURL& base_url); |
+// Navigates the frame represented by |node| to |url|, blocking until the |
+// navigation finishes. |
+void NavigateFrameToURL(FrameTreeNode* node, const GURL& url); |
+ |
// Navigates the selected tab of |window| to |url|, blocking until the given |
// number of navigations finishes. |
void NavigateToURLBlockUntilNavigationsComplete(Shell* window, |