Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9571)

Unified Diff: chrome/test/ui/ui_test.cc

Issue 1094009: Ensure that data doesn't leak between users on cros chrome crash. (Closed)
Patch Set: Make tests not use OTR Profile Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/in_process_browser_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/test/in_process_browser_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698