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

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

Issue 7523060: Let pyauto create an attached webdriver instance to manipulate web pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address nirnimesh' latest comments Created 9 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
Index: chrome/test/webdriver/session.h
diff --git a/chrome/test/webdriver/session.h b/chrome/test/webdriver/session.h
index c84656a81125b0154fc0e9ee3545d87a9e65c19e..30b953f84fa4649a9c5d3de00e954aad8623caca 100644
--- a/chrome/test/webdriver/session.h
+++ b/chrome/test/webdriver/session.h
@@ -65,9 +65,7 @@ class Session {
// It |user_data_dir| is empty, it will use a temporary dir.
// Returns true on success. On failure, the session will delete
// itself and return an error code.
- Error* Init(const FilePath& browser_exe,
- const FilePath& user_data_dir,
- const CommandLine& options);
+ Error* Init(const Automation::InitOptions& options);
// Terminates this session and deletes itself.
void Terminate();
@@ -297,9 +295,7 @@ class Session {
void RunSessionTaskOnSessionThread(
Task* task,
base::WaitableEvent* done_event);
- void InitOnSessionThread(const FilePath& browser_exe,
- const FilePath& user_data_dir,
- const CommandLine& options,
+ void InitOnSessionThread(const Automation::InitOptions& options,
Error** error);
void TerminateOnSessionThread();

Powered by Google App Engine
This is Rietveld 408576698