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_WEB_UI_BROWSERTEST_H_ | 5 #ifndef CHROME_TEST_BASE_WEB_UI_BROWSERTEST_H_ |
6 #define CHROME_TEST_BASE_WEB_UI_BROWSERTEST_H_ | 6 #define CHROME_TEST_BASE_WEB_UI_BROWSERTEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "chrome/test/base/in_process_browser_test.h" | 14 #include "chrome/test/base/in_process_browser_test.h" |
15 #include "content/public/test/js_injection_ready_observer.h" | 15 #include "content/public/test/js_injection_ready_observer.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class Value; | 18 class Value; |
19 } | 19 } |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 class RenderViewHost; | 22 class RenderViewHost; |
23 class WebUI; | 23 class WebUI; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 std::string preload_test_name_; | 191 std::string preload_test_name_; |
192 | 192 |
193 // When this is non-NULL, this is The WebUI instance used for testing. | 193 // When this is non-NULL, this is The WebUI instance used for testing. |
194 // Otherwise the selected tab's web_ui is used. | 194 // Otherwise the selected tab's web_ui is used. |
195 content::WebUI* override_selected_web_ui_; | 195 content::WebUI* override_selected_web_ui_; |
196 | 196 |
197 scoped_ptr<TestChromeWebUIControllerFactory> test_factory_; | 197 scoped_ptr<TestChromeWebUIControllerFactory> test_factory_; |
198 }; | 198 }; |
199 | 199 |
200 #endif // CHROME_TEST_BASE_WEB_UI_BROWSERTEST_H_ | 200 #endif // CHROME_TEST_BASE_WEB_UI_BROWSERTEST_H_ |
OLD | NEW |