| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/test/base/chrome_render_view_host_test_harness.h" | 5 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
| 6 | 6 |
| 7 #include "chrome/test/base/testing_profile.h" | 7 #include "chrome/test/base/testing_profile.h" |
| 8 | 8 |
| 9 #if defined(USE_AURA) | 9 #if defined(USE_AURA) |
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 void ChromeRenderViewHostTestHarness::SetUp() { | 25 void ChromeRenderViewHostTestHarness::SetUp() { |
| 26 if (!browser_context_.get()) | 26 if (!browser_context_.get()) |
| 27 browser_context_.reset(new TestingProfile()); | 27 browser_context_.reset(new TestingProfile()); |
| 28 RenderViewHostTestHarness::SetUp(); | 28 RenderViewHostTestHarness::SetUp(); |
| 29 } | 29 } |
| 30 | 30 |
| 31 void ChromeRenderViewHostTestHarness::TearDown() { | 31 void ChromeRenderViewHostTestHarness::TearDown() { |
| 32 RenderViewHostTestHarness::TearDown(); | 32 RenderViewHostTestHarness::TearDown(); |
| 33 #if defined(USE_AURA) | 33 #if defined(USE_AURA) |
| 34 aura_shell::Shell::DeleteInstance(); | 34 ash::Shell::DeleteInstance(); |
| 35 aura::RootWindow::DeleteInstance(); | 35 aura::RootWindow::DeleteInstance(); |
| 36 #endif | 36 #endif |
| 37 } | 37 } |
| OLD | NEW |