summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_process_host_browsertest.h
blob: 13cd7c7eae61a0d7a4413179dc942044f3342a6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// 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_