| Index: chrome/test/ui/ui_test.cc
|
| diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
|
| index 83803ed95171fe8031757be557fe5102dd1447b4..05d332c73e9113ac2a681e89d3f7669d1573da60 100644
|
| --- a/chrome/test/ui/ui_test.cc
|
| +++ b/chrome/test/ui/ui_test.cc
|
| @@ -49,6 +49,8 @@ static const int kWaitForActionMaxMsec = 10000;
|
| static const int kCommandExecutionTimeout = 30000;
|
| // Delay to let the browser shut down before trying more brutal methods.
|
| static const int kWaitForTerminateMsec = 30000;
|
| +// Passed as value of kTestType.
|
| +static const char kUITestType[] = "ui";
|
|
|
| const wchar_t UITestBase::kFailedNoCrashService[] =
|
| #if defined(OS_WIN)
|
| @@ -1077,6 +1079,10 @@ bool UITestBase::LaunchBrowserHelper(const CommandLine& arguments,
|
| // default browser) that could conflicts with some tests expectations.
|
| command_line.AppendSwitch(switches::kNoDefaultBrowserCheck);
|
|
|
| + // This is a UI test.
|
| + command_line.AppendSwitchWithValue(switches::kTestType,
|
| + ASCIIToWide(kUITestType));
|
| +
|
| // We need cookies on file:// for things like the page cycler.
|
| if (enable_file_cookies_)
|
| command_line.AppendSwitch(switches::kEnableFileCookies);
|
|
|