Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(926)

Side by Side Diff: chrome/test/base/chrome_render_view_host_test_harness.h

Issue 636673002: Remove navigation from TestRenderViewHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a TODO Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_ 5 #ifndef CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_
6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_ 6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/public/test/test_renderer_host.h" 9 #include "content/public/test/test_renderer_host.h"
10 10
11 class TestingProfile; 11 class TestingProfile;
12 12
13 namespace content { 13 namespace content {
14 class WebContents; 14 class WebContents;
15 } 15 }
16 16
17 // Wrapper around RenderViewHostTestHarness that uses a TestingProfile as 17 // Wrapper around RenderViewHostTestHarness that uses a TestingProfile as
18 // browser context instead of a TestBrowserContext. 18 // browser context instead of a TestBrowserContext.
19 class ChromeRenderViewHostTestHarness 19 class ChromeRenderViewHostTestHarness
20 : public content::RenderViewHostTestHarness { 20 : public content::RenderViewHostTestHarness {
21 public: 21 public:
22 ChromeRenderViewHostTestHarness(); 22 ChromeRenderViewHostTestHarness();
23 virtual ~ChromeRenderViewHostTestHarness(); 23 virtual ~ChromeRenderViewHostTestHarness();
24 24
25 TestingProfile* profile(); 25 TestingProfile* profile();
26 26
27 content::RenderViewHostTester* rvh_tester();
28
29 protected: 27 protected:
30 // testing::Test 28 // testing::Test
31 virtual void TearDown() OVERRIDE; 29 virtual void TearDown() OVERRIDE;
32 30
33 // content::RenderViewHostTestHarness. 31 // content::RenderViewHostTestHarness.
34 virtual content::BrowserContext* CreateBrowserContext() OVERRIDE; 32 virtual content::BrowserContext* CreateBrowserContext() OVERRIDE;
35 }; 33 };
36 34
37 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_ 35 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_
OLDNEW
« no previous file with comments | « chrome/test/base/browser_with_test_window_test.cc ('k') | chrome/test/base/chrome_render_view_host_test_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698