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

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

Issue 870883008: Test runner: make inspector tests reuse a single inspector process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 5 years, 11 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
« no previous file with comments | « no previous file | content/shell/browser/layout_test/layout_test_devtools_frontend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/layout_test_devtools_frontend.h
diff --git a/content/shell/browser/layout_test/layout_test_devtools_frontend.h b/content/shell/browser/layout_test/layout_test_devtools_frontend.h
index 5106a9beca7bbd5bbe750c4ee557db0c5e13e2cb..20db64437b8effb7953d86c9c455ee3c25b2d035 100644
--- a/content/shell/browser/layout_test/layout_test_devtools_frontend.h
+++ b/content/shell/browser/layout_test/layout_test_devtools_frontend.h
@@ -24,11 +24,18 @@ class LayoutTestDevToolsFrontend : public ShellDevToolsFrontend {
static GURL GetDevToolsPathAsURL(const std::string& settings,
const std::string& frontend_url);
+ void ReuseFrontend(WebContents* inspected_contents,
+ const std::string& settings,
+ const std::string frontend_url);
+
private:
LayoutTestDevToolsFrontend(Shell* frontend_shell,
DevToolsAgentHost* agent_host);
~LayoutTestDevToolsFrontend() override;
+ // content::DevToolsAgentHostClient implementation.
+ void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override;
+
// WebContentsObserver implementation.
void RenderProcessGone(base::TerminationStatus status) override;
« no previous file with comments | « no previous file | content/shell/browser/layout_test/layout_test_devtools_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698