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

Unified Diff: content/test/content_browser_test_utils.h

Issue 176883012: Set the original url correctly if the frame is loaded via loadData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add // static comment Created 6 years, 9 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: content/test/content_browser_test_utils.h
diff --git a/content/test/content_browser_test_utils.h b/content/test/content_browser_test_utils.h
index 09f44b8f90156e7ab5dc32e4f1686e6fc78a385d..ade826df050c966feb4cae8203e644f20a24b27d 100644
--- a/content/test/content_browser_test_utils.h
+++ b/content/test/content_browser_test_utils.h
@@ -41,6 +41,10 @@ GURL GetTestUrl(const char* dir, const char* file);
// Navigates the selected tab of |window| to |url|, blocking until the
// navigation finishes.
void NavigateToURL(Shell* window, const GURL& url);
+void LoadDataWithBaseURL(Shell* window,
+ const GURL& base_url,
+ const std::string data,
+ const GURL& history_url);
// Navigates the selected tab of |window| to |url|, blocking until the given
// number of navigations finishes.

Powered by Google App Engine
This is Rietveld 408576698