Index: content/public/test/browser_test_utils.h |
diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h |
index 60b19c730c72be568e0aeb11a267ce9ec551833f..1788195af0c8c93b8d854305c57bdb4883da05dc 100644 |
--- a/content/public/test/browser_test_utils.h |
+++ b/content/public/test/browser_test_utils.h |
@@ -56,6 +56,13 @@ class MessageLoopRunner; |
class RenderViewHost; |
class WebContents; |
+// Navigate a frame with ID |iframe_id| to |url|, blocking until the navigation |
+// finishes. Uses a renderer-initiated navigation from script code in the |
+// main frame. |
+bool NavigateIframeToURL(WebContents* web_contents, |
+ std::string iframe_id, |
+ const GURL& url); |
+ |
// Generate a URL for a file path including a query string. |
GURL GetFileUrlWithQuery(const base::FilePath& path, |
const std::string& query_string); |