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

Side by Side 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: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/shell/browser/shell_devtools_frontend.h" 10 #include "content/shell/browser/shell_devtools_frontend.h"
(...skipping 11 matching lines...) Expand all
22 const std::string& frontend_url); 22 const std::string& frontend_url);
23 23
24 static GURL GetDevToolsPathAsURL(const std::string& settings, 24 static GURL GetDevToolsPathAsURL(const std::string& settings,
25 const std::string& frontend_url); 25 const std::string& frontend_url);
26 26
27 private: 27 private:
28 LayoutTestDevToolsFrontend(Shell* frontend_shell, 28 LayoutTestDevToolsFrontend(Shell* frontend_shell,
29 DevToolsAgentHost* agent_host); 29 DevToolsAgentHost* agent_host);
30 ~LayoutTestDevToolsFrontend() override; 30 ~LayoutTestDevToolsFrontend() override;
31 31
32 // content::DevToolsAgentHostClient implementation.
33 void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override;
34
32 // WebContentsObserver implementation. 35 // WebContentsObserver implementation.
33 void RenderProcessGone(base::TerminationStatus status) override; 36 void RenderProcessGone(base::TerminationStatus status) override;
34 37
35 DISALLOW_COPY_AND_ASSIGN(LayoutTestDevToolsFrontend); 38 DISALLOW_COPY_AND_ASSIGN(LayoutTestDevToolsFrontend);
36 }; 39 };
37 40
38 } // namespace content 41 } // namespace content
39 42
40 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ 43 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698