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

Unified Diff: chrome/browser/extensions/extension_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/extensions/extension_startup_browsertest.cc ('k') | chrome/browser/first_run_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_uitest.cc
diff --git a/chrome/browser/extensions/extension_uitest.cc b/chrome/browser/extensions/extension_uitest.cc
index 8344d5d0f4e5213420d6bec984ff62a2a3c5fda3..207694922fe6c6863e6bd6dc0a6be234d25abf1c 100644
--- a/chrome/browser/extensions/extension_uitest.cc
+++ b/chrome/browser/extensions/extension_uitest.cc
@@ -57,10 +57,8 @@ class ExtensionUITest : public ExternalTabUITest {
public:
explicit ExtensionUITest(const std::string& extension_path)
: loop_(MessageLoop::current()) {
- FilePath filename(test_data_directory_);
- filename = filename.AppendASCII(extension_path);
- launch_arguments_.AppendSwitchWithValue(switches::kLoadExtension,
- filename.value());
+ FilePath filename = test_data_directory_.AppendASCII(extension_path);
+ launch_arguments_.AppendSwitchPath(switches::kLoadExtension, filename);
functions_enabled_.push_back("*");
}
« no previous file with comments | « chrome/browser/extensions/extension_startup_browsertest.cc ('k') | chrome/browser/first_run_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698