[Chromoting] Update size to use inner/outer bounds
[chromium-blink-merge.git] / chrome / test / base / chrome_render_view_host_test_harness.h
blob7df7bd338c0daca85cb90e318af02ae5287a2fc8
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_
6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_
8 #include "base/compiler_specific.h"
9 #include "content/public/test/test_renderer_host.h"
11 class TestingProfile;
13 namespace content {
14 class WebContents;
17 // Wrapper around RenderViewHostTestHarness that uses a TestingProfile as
18 // browser context instead of a TestBrowserContext.
19 class ChromeRenderViewHostTestHarness
20 : public content::RenderViewHostTestHarness {
21 public:
22 ChromeRenderViewHostTestHarness();
23 virtual ~ChromeRenderViewHostTestHarness();
25 TestingProfile* profile();
27 protected:
28 // testing::Test
29 virtual void TearDown() override;
31 // content::RenderViewHostTestHarness.
32 content::BrowserContext* CreateBrowserContext() override;
35 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_