OLD | NEW |
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 |
(...skipping 12 matching lines...) Expand all Loading... |
23 virtual ~ChromeRenderViewHostTestHarness(); | 23 virtual ~ChromeRenderViewHostTestHarness(); |
24 | 24 |
25 TestingProfile* profile(); | 25 TestingProfile* profile(); |
26 | 26 |
27 content::RenderViewHostTester* rvh_tester(); | 27 content::RenderViewHostTester* rvh_tester(); |
28 | 28 |
29 protected: | 29 protected: |
30 // testing::Test | 30 // testing::Test |
31 virtual void SetUp() OVERRIDE; | 31 virtual void SetUp() OVERRIDE; |
32 virtual void TearDown() OVERRIDE; | 32 virtual void TearDown() OVERRIDE; |
| 33 |
| 34 // content::RenderViewHostTestHarness. |
| 35 virtual content::BrowserContext* CreateBrowserContext() OVERRIDE; |
33 }; | 36 }; |
34 | 37 |
35 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_ | 38 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_HOST_TEST_HARNESS_H_ |
OLD | NEW |