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

Unified Diff: chrome/browser/browser_uitest.cc

Issue 3012021: CommandLine: add a CopySwitchesFrom() for copying from another CommandLine (Closed)
Patch Set: minor cleanups Created 10 years, 5 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/browser/browser_main.cc ('k') | chrome/browser/configuration_policy_pref_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_uitest.cc
diff --git a/chrome/browser/browser_uitest.cc b/chrome/browser/browser_uitest.cc
index d1976bea696d78c410c3a85e9e2e821a4a1f7418..6545c5d360c3df50a511c6da676e5e1c6aa44aaa 100644
--- a/chrome/browser/browser_uitest.cc
+++ b/chrome/browser/browser_uitest.cc
@@ -275,8 +275,7 @@ public:
file_util::Delete(tmp_profile_, true);
file_util::CreateDirectory(tmp_profile_);
- launch_arguments_.AppendSwitchWithValue(switches::kUserDataDir,
- tmp_profile_.ToWStringHack());
+ launch_arguments_.AppendSwitchPath(switches::kUserDataDir, tmp_profile_);
}
bool LaunchAppWithProfile() {
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/configuration_policy_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698