| OLD | NEW |
| 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 #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" | 5 #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 #include "build/build_config.h" |
| 10 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
| 11 #include "content/shell/browser/blink_test_controller.h" | 12 #include "content/shell/browser/blink_test_controller.h" |
| 12 #include "content/shell/browser/shell.h" | 13 #include "content/shell/browser/shell.h" |
| 13 #include "net/base/filename_util.h" | 14 #include "net/base/filename_util.h" |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 | 17 |
| 17 // static | 18 // static |
| 18 LayoutTestDevToolsFrontend* LayoutTestDevToolsFrontend::Show( | 19 LayoutTestDevToolsFrontend* LayoutTestDevToolsFrontend::Show( |
| 19 WebContents* inspected_contents, | 20 WebContents* inspected_contents, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 DevToolsAgentHost* agent_host, bool replaced) { | 80 DevToolsAgentHost* agent_host, bool replaced) { |
| 80 // Do not close the front-end shell. | 81 // Do not close the front-end shell. |
| 81 } | 82 } |
| 82 | 83 |
| 83 void LayoutTestDevToolsFrontend::RenderProcessGone( | 84 void LayoutTestDevToolsFrontend::RenderProcessGone( |
| 84 base::TerminationStatus status) { | 85 base::TerminationStatus status) { |
| 85 BlinkTestController::Get()->DevToolsProcessCrashed(); | 86 BlinkTestController::Get()->DevToolsProcessCrashed(); |
| 86 } | 87 } |
| 87 | 88 |
| 88 } // namespace content | 89 } // namespace content |
| OLD | NEW |