// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_BROWSERTEST_H_ #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_BROWSERTEST_H_ #pragma once #include "base/command_line.h" #include "base/process.h" #include "chrome/test/base/in_process_browser_test.h" #include "content/public/common/content_switches.h" class GURL; class RenderProcessHostTest : public InProcessBrowserTest { public: RenderProcessHostTest(); int RenderProcessHostCount(); base::ProcessHandle ShowSingletonTab(const GURL& page); void TestProcessOverflow(); }; class RenderProcessHostTestWithCommandLine : public RenderProcessHostTest { protected: virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; }; #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_BROWSERTEST_H_