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

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

Issue 11746025: [chromedriver]Implement command: title. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 12 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/chromedriver/command_executor_impl.cc
diff --git a/chrome/test/chromedriver/command_executor_impl.cc b/chrome/test/chromedriver/command_executor_impl.cc
index ee8a1bd5d6e7ed68a9462db3639ab4aa5a20a401..7c8cc6a184b29f02ae2aeed4b942965158f7c6d2 100644
--- a/chrome/test/chromedriver/command_executor_impl.cc
+++ b/chrome/test/chromedriver/command_executor_impl.cc
@@ -45,6 +45,8 @@ void CommandExecutorImpl::Init() {
base::Bind(&ExecuteGet)));
command_map_.Set("executeScript", base::Bind(execute_session_command,
base::Bind(&ExecuteExecuteScript)));
+ command_map_.Set("title", base::Bind(execute_session_command,
kkania 2013/01/04 04:35:34 i think it should be getTitle; see http://code.goo
chrisgao (Use stgao instead) 2013/01/05 01:19:09 Done.
+ base::Bind(&ExecuteTitle)));
Command quit_command = base::Bind(execute_session_command,
base::Bind(&ExecuteQuit, &session_map_));
command_map_.Set("quit", quit_command);

Powered by Google App Engine
This is Rietveld 408576698