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

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

Issue 9838009: Clean up a few TODO items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/test/test_renderer_host.h" 10 #include "content/test/test_renderer_host.h"
11 11
12 class TestingProfile; 12 class TestingProfile;
13 13
14 namespace content { 14 namespace content {
15 class WebContents; 15 class WebContents;
16 } 16 }
17 17
18 // Wrapper around RenderViewHostTestHarness that uses a TestingProfile as 18 // Wrapper around RenderViewHostTestHarness that uses a TestingProfile as
19 // browser context instead of a TestBrowserContext. 19 // browser context instead of a TestBrowserContext.
20 class ChromeRenderViewHostTestHarness : public RenderViewHostTestHarness { 20 class ChromeRenderViewHostTestHarness
21 : public content::RenderViewHostTestHarness {
21 public: 22 public:
22 ChromeRenderViewHostTestHarness(); 23 ChromeRenderViewHostTestHarness();
23 virtual ~ChromeRenderViewHostTestHarness(); 24 virtual ~ChromeRenderViewHostTestHarness();
24 25
25 TestingProfile* profile(); 26 TestingProfile* profile();
26 27
27 content::WebContents* contents(); 28 content::WebContents* contents();
28 content::RenderViewHostTester* rvh_tester(); 29 content::RenderViewHostTester* rvh_tester();
29 30
30 protected: 31 protected:
31 // testing::Test 32 // testing::Test
32 virtual void SetUp() OVERRIDE; 33 virtual void SetUp() OVERRIDE;
33 virtual void TearDown() OVERRIDE; 34 virtual void TearDown() OVERRIDE;
34 }; 35 };
35 36
36 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_ 37 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_
OLDNEW
« no previous file with comments | « chrome/browser/web_applications/web_app_unittest.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