| 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 #include "webkit/tools/test_shell/test_shell_switches.h" | 5 #include "webkit/tools/test_shell/test_shell_switches.h" |
| 6 | 6 |
| 7 namespace test_shell { | 7 namespace test_shell { |
| 8 | 8 |
| 9 // Suppresses all error dialogs when present. | 9 // Suppresses all error dialogs when present. |
| 10 const wchar_t kNoErrorDialogs[] = L"noerrdialogs"; | 10 const wchar_t kNoErrorDialogs[] = L"noerrdialogs"; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 // Don't record/playback events when using record & playback. | 39 // Don't record/playback events when using record & playback. |
| 40 const wchar_t kNoEvents[] = L"no-events"; | 40 const wchar_t kNoEvents[] = L"no-events"; |
| 41 | 41 |
| 42 // Dump stats table on exit. | 42 // Dump stats table on exit. |
| 43 const wchar_t kDumpStatsTable[] = L"stats"; | 43 const wchar_t kDumpStatsTable[] = L"stats"; |
| 44 | 44 |
| 45 // Use a specified cache directory. | 45 // Use a specified cache directory. |
| 46 const wchar_t kCacheDir[] = L"cache-dir"; | 46 const wchar_t kCacheDir[] = L"cache-dir"; |
| 47 | 47 |
| 48 // When being run through a memory profiler, trigger memory in use dumps at | 48 // When being run through a memory profiler, trigger memory in use dumps at |
| 49 // startup and just prior to shutdown. | 49 // startup and just prior to shutdown. |
| 50 const wchar_t kDebugMemoryInUse[] = L"debug-memory-in-use"; | 50 const wchar_t kDebugMemoryInUse[] = L"debug-memory-in-use"; |
| 51 | 51 |
| 52 // Enable cookies on the file:// scheme. --layout-tests also enables this. | 52 // Enable cookies on the file:// scheme. --layout-tests also enables this. |
| 53 const wchar_t kEnableFileCookies[] = L"enable-file-cookies"; | 53 const wchar_t kEnableFileCookies[] = L"enable-file-cookies"; |
| 54 | 54 |
| 55 // Enable the winhttp network stack. | |
| 56 const wchar_t kUseWinHttp[] = L"winhttp"; | |
| 57 | |
| 58 // Enable tracing events (see base/trace_event.h) | 55 // Enable tracing events (see base/trace_event.h) |
| 59 const wchar_t kEnableTracing[] = L"enable-tracing"; | 56 const wchar_t kEnableTracing[] = L"enable-tracing"; |
| 60 | 57 |
| 61 // Allow scripts to close windows in all cases. | 58 // Allow scripts to close windows in all cases. |
| 62 const wchar_t kAllowScriptsToCloseWindows[] = L"allow-scripts-to-close-windows"; | 59 const wchar_t kAllowScriptsToCloseWindows[] = L"allow-scripts-to-close-windows"; |
| 63 | 60 |
| 64 // Test the system dependencies (themes, fonts, ...). When this flag is | 61 // Test the system dependencies (themes, fonts, ...). When this flag is |
| 65 // specified, the test shell will exit immediately with either 0 (success) or | 62 // specified, the test shell will exit immediately with either 0 (success) or |
| 66 // 1 (failure). Combining with other flags has no effect. | 63 // 1 (failure). Combining with other flags has no effect. |
| 67 extern const wchar_t kCheckLayoutTestSystemDeps[] = | 64 extern const wchar_t kCheckLayoutTestSystemDeps[] = |
| 68 L"check-layout-test-sys-deps"; | 65 L"check-layout-test-sys-deps"; |
| 69 | 66 |
| 70 // Enable the media player by having this switch. | 67 // Enable the media player by having this switch. |
| 71 extern const wchar_t kEnableVideo[] = L"enable-video"; | 68 extern const wchar_t kEnableVideo[] = L"enable-video"; |
| 72 | 69 |
| 73 } // namespace test_shell | 70 } // namespace test_shell |
| 74 | 71 |
| OLD | NEW |