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

Unified Diff: chrome/test/chromedriver/chrome_launcher.cc

Issue 2785413002: [chromedriver] Introduce chromeOptions.useAutomationExtension. (Closed)
Patch Set: Created 3 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/chromedriver/capabilities.cc ('k') | chrome/test/chromedriver/test/run_py_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome_launcher.cc
diff --git a/chrome/test/chromedriver/chrome_launcher.cc b/chrome/test/chromedriver/chrome_launcher.cc
index 1592c2913c813c10936865934ba31f80edf66884..d49a3011dbb638bce7cb90e97927f3690096eacb 100644
--- a/chrome/test/chromedriver/chrome_launcher.cc
+++ b/chrome/test/chromedriver/chrome_launcher.cc
@@ -162,9 +162,9 @@ Status PrepareCommandLine(uint16_t port,
return Status(kUnknownError,
"cannot create temp dir for unpacking extensions");
}
- status = internal::ProcessExtensions(capabilities.extensions,
- extension_dir->GetPath(), true,
- &switches, extension_bg_pages);
+ status = internal::ProcessExtensions(
+ capabilities.extensions, extension_dir->GetPath(),
+ capabilities.use_automation_extension, &switches, extension_bg_pages);
if (status.IsError())
return status;
switches.AppendToCommandLine(&command);
« no previous file with comments | « chrome/test/chromedriver/capabilities.cc ('k') | chrome/test/chromedriver/test/run_py_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698