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

Unified Diff: content/shell/browser/layout_test/layout_test_devtools_bindings.h

Issue 2837083003: DevTools: create test infrastructure so devtools drives the test (Closed)
Patch Set: rebaseline Created 3 years, 6 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/shell/browser/layout_test/layout_test_devtools_bindings.h
diff --git a/content/shell/browser/layout_test/layout_test_devtools_bindings.h b/content/shell/browser/layout_test/layout_test_devtools_bindings.h
index 1b443e160ef5b80ec0f43ef0eb1e1c2de065a277..bf9a34faa19694b5a56698d9797c561e8a621198 100644
--- a/content/shell/browser/layout_test/layout_test_devtools_bindings.h
+++ b/content/shell/browser/layout_test/layout_test_devtools_bindings.h
@@ -17,7 +17,8 @@ class LayoutTestDevToolsBindings : public ShellDevToolsBindings {
public:
static GURL GetDevToolsPathAsURL(const std::string& frontend_url);
- static GURL MapJSTestURL(const GURL& test_url);
+ static GURL MapTestURLIfNeeded(const GURL& test_url,
+ bool* is_devtools_js_test);
static LayoutTestDevToolsBindings* LoadDevTools(
WebContents* devtools_contents_,
@@ -29,6 +30,9 @@ class LayoutTestDevToolsBindings : public ShellDevToolsBindings {
~LayoutTestDevToolsBindings() override;
private:
+ static GURL MapJSTestURL(const GURL& test_url,
+ const std::string& entry_filename);
+
LayoutTestDevToolsBindings(WebContents* devtools_contents,
WebContents* inspected_contents);

Powered by Google App Engine
This is Rietveld 408576698