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

Unified Diff: chrome/test/webdriver/webdriver_automation.h

Issue 7648053: [chromedriver] Add chrome.detach option for configuring Chrome not to quit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win compile issue Created 9 years, 4 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/webdriver/test/chromedriver_tests.py ('k') | chrome/test/webdriver/webdriver_automation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_automation.h
diff --git a/chrome/test/webdriver/webdriver_automation.h b/chrome/test/webdriver/webdriver_automation.h
index aa4c79a020db1520c16aae250d5879b75cc04762..d437a05ec38a2736d9aac02b5cd36a17c781037b 100644
--- a/chrome/test/webdriver/webdriver_automation.h
+++ b/chrome/test/webdriver/webdriver_automation.h
@@ -42,9 +42,22 @@ class Automation {
BrowserOptions();
~BrowserOptions();
+ // The command line to use for launching the browser. If no program is
+ // specified, the default browser executable will be used.
CommandLine command;
+
+ // The user data directory to be copied and used. If empty, a temporary
+ // directory will be used.
FilePath user_data_dir;
+
+ // The channel ID of an already running browser to connect to. If empty,
+ // the browser will be launched with an anonymous channel.
std::string channel_id;
+
+ // True if the Chrome process should only be terminated if quit is called.
+ // If false, Chrome will also be terminated if this process is killed or
+ // shutdown.
+ bool detach_process;
};
Automation();
« no previous file with comments | « chrome/test/webdriver/test/chromedriver_tests.py ('k') | chrome/test/webdriver/webdriver_automation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698