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 #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/browser/browser_process.h" | 7 #include "chrome/browser/browser_process.h" |
8 #include "chrome/browser/signin/fake_signin_manager.h" | 8 #include "chrome/browser/signin/fake_signin_manager.h" |
9 #include "chrome/browser/signin/signin_manager_factory.h" | 9 #include "chrome/browser/signin/signin_manager_factory.h" |
10 #include "chrome/test/base/testing_profile.h" | 10 #include "chrome/test/base/testing_profile.h" |
11 | 11 |
12 #if defined(USE_ASH) | 12 #if defined(USE_ASH) |
13 #include "ash/shell.h" | 13 #include "ash/shell.h" |
14 #endif | 14 #endif |
15 | 15 |
16 #if defined(USE_AURA) | 16 #if defined(USE_AURA) |
17 #include "ui/aura/env.h" | 17 #include "ui/aura/env.h" |
18 #include "ui/aura/root_window.h" | 18 #include "ui/aura/window_event_dispatcher.h" |
19 #endif | 19 #endif |
20 | 20 |
21 using content::RenderViewHostTester; | 21 using content::RenderViewHostTester; |
22 using content::RenderViewHostTestHarness; | 22 using content::RenderViewHostTestHarness; |
23 | 23 |
24 ChromeRenderViewHostTestHarness::ChromeRenderViewHostTestHarness() { | 24 ChromeRenderViewHostTestHarness::ChromeRenderViewHostTestHarness() { |
25 } | 25 } |
26 | 26 |
27 ChromeRenderViewHostTestHarness::~ChromeRenderViewHostTestHarness() { | 27 ChromeRenderViewHostTestHarness::~ChromeRenderViewHostTestHarness() { |
28 } | 28 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #endif | 62 #endif |
63 #if defined(USE_AURA) | 63 #if defined(USE_AURA) |
64 aura::Env::DeleteInstance(); | 64 aura::Env::DeleteInstance(); |
65 #endif | 65 #endif |
66 } | 66 } |
67 | 67 |
68 content::BrowserContext* | 68 content::BrowserContext* |
69 ChromeRenderViewHostTestHarness::CreateBrowserContext() { | 69 ChromeRenderViewHostTestHarness::CreateBrowserContext() { |
70 return new TestingProfile(); | 70 return new TestingProfile(); |
71 } | 71 } |
OLD | NEW |