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

Unified Diff: components/test_runner/web_test_delegate.h

Issue 2013203003: content_shell: Update absolute path rewriting logic again. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comments Created 4 years, 7 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: components/test_runner/web_test_delegate.h
diff --git a/components/test_runner/web_test_delegate.h b/components/test_runner/web_test_delegate.h
index 61e2fcbb828f97e3f4223a67a659fb50388eb7da..a258e3f4b6f08a19cb9e87bf8a9bcadb7a3eef36 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -103,8 +103,10 @@ class WebTestDelegate {
virtual blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) = 0;
// Replaces file:///tmp/LayoutTests/ with the actual path to the
- // LayoutTests directory.
- virtual blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) = 0;
+ // LayoutTests directory, or rewrite URLs generated from absolute
+ // path links in web-platform-tests.
+ virtual blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url,
+ bool is_wpt_mode) = 0;
// Manages the settings to used for layout tests.
virtual TestPreferences* Preferences() = 0;
« no previous file with comments | « components/test_runner/web_frame_test_client.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698