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 #include "chrome/browser/ui/webui/web_ui_browsertest.h" | 4 #include "chrome/browser/ui/webui/web_ui_browsertest.h" |
5 | 5 |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 TestChromeWebUIFactory::RemoveFactoryOverride( | 314 TestChromeWebUIFactory::RemoveFactoryOverride( |
315 GURL(kChromeTestBrowserTestPass).host()); | 315 GURL(kChromeTestBrowserTestPass).host()); |
316 } | 316 } |
317 | 317 |
318 static const char kChromeTestBrowserTestPass[]; | 318 static const char kChromeTestBrowserTestPass[]; |
319 }; | 319 }; |
320 | 320 |
321 const char WebUIBrowserTestPass::kChromeTestBrowserTestPass[] = | 321 const char WebUIBrowserTestPass::kChromeTestBrowserTestPass[] = |
322 "chrome://WebUIBrowserTestPass"; | 322 "chrome://WebUIBrowserTestPass"; |
323 | 323 |
| 324 typedef WebUIBrowserTestPass WebUIBrowserTestFail; |
| 325 |
| 326 #include "chrome/test/data/webui/sample_fail-inl.h" |
324 #include "chrome/test/data/webui/sample_pass-inl.h" | 327 #include "chrome/test/data/webui/sample_pass-inl.h" |
325 | 328 |
326 #endif // !defined(ARCH_CPU_ARM_FAMILY) | 329 #endif // !defined(ARCH_CPU_ARM_FAMILY) |
OLD | NEW |