OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BROWSER_WITH_TEST_WINDOW_TEST_H_ | 5 #ifndef CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_ |
6 #define CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_ | 6 #define CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "chrome/browser/renderer_host/test_render_view_host.h" | 11 #include "chrome/browser/renderer_host/test/test_render_view_host.h" |
12 #include "chrome/test/test_browser_window.h" | 12 #include "chrome/test/test_browser_window.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 class Browser; | 15 class Browser; |
16 class GURL; | 16 class GURL; |
17 class NavigationController; | 17 class NavigationController; |
18 class TestBrowserWindow; | 18 class TestBrowserWindow; |
19 class TestingProfile; | 19 class TestingProfile; |
20 | 20 |
21 // Base class for browser based unit tests. BrowserWithTestWindowTest creates a | 21 // Base class for browser based unit tests. BrowserWithTestWindowTest creates a |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 scoped_ptr<TestBrowserWindow> window_; | 93 scoped_ptr<TestBrowserWindow> window_; |
94 scoped_ptr<Browser> browser_; | 94 scoped_ptr<Browser> browser_; |
95 | 95 |
96 MockRenderProcessHostFactory rph_factory_; | 96 MockRenderProcessHostFactory rph_factory_; |
97 TestRenderViewHostFactory rvh_factory_; | 97 TestRenderViewHostFactory rvh_factory_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); | 99 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); |
100 }; | 100 }; |
101 | 101 |
102 #endif // CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_ | 102 #endif // CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_ |
OLD | NEW |