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..e69ead7c29a02a7b11745e5ea77e26e6cf4a97ae 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 RenderFrameHostImpl; |
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 |rfh| to |url|, blocking until the |
+// navigation finishes. |
+void NavigateFrameToURL(RenderFrameHostImpl* rfh, const GURL& url); |
+ |
// Navigates the selected tab of |window| to |url|, blocking until the given |
// number of navigations finishes. |
void NavigateToURLBlockUntilNavigationsComplete(Shell* window, |