| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_BROWSERTEST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_BROWSERTEST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_BROWSERTEST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_BROWSERTEST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/command_line.h" |
| 9 #include "base/process.h" | 10 #include "base/process.h" |
| 10 #include "chrome/test/base/in_process_browser_test.h" | 11 #include "chrome/test/base/in_process_browser_test.h" |
| 12 #include "content/public/common/content_switches.h" |
| 11 | 13 |
| 12 | 14 |
| 13 class GURL; | 15 class GURL; |
| 14 | 16 |
| 15 class RenderProcessHostTest : public InProcessBrowserTest { | 17 class RenderProcessHostTest : public InProcessBrowserTest { |
| 16 public: | 18 public: |
| 17 RenderProcessHostTest(); | 19 RenderProcessHostTest(); |
| 18 | 20 |
| 19 int RenderProcessHostCount(); | 21 int RenderProcessHostCount(); |
| 20 base::ProcessHandle ShowSingletonTab(const GURL& page); | 22 base::ProcessHandle ShowSingletonTab(const GURL& page); |
| 23 void TestProcessOverflow(); |
| 24 }; |
| 25 |
| 26 class RenderProcessHostTestWithCommandLine : public RenderProcessHostTest { |
| 27 protected: |
| 28 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; |
| 21 }; | 29 }; |
| 22 | 30 |
| 23 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_BROWSERTEST_H_ | 31 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_BROWSERTEST_H_ |
| OLD | NEW |