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

Unified Diff: chrome/test/chromedriver/server/http_handler.cc

Issue 114403005: Adding a LaunchApp command to Chromedriver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing to latest code Created 6 years, 11 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/server/http_handler.cc
diff --git a/chrome/test/chromedriver/server/http_handler.cc b/chrome/test/chromedriver/server/http_handler.cc
index 86cc76cb475247fc9167d342a85f38cd3e8495df..218c8ffd204520a35bfafb8e6568693a0d07c712 100644
--- a/chrome/test/chromedriver/server/http_handler.cc
+++ b/chrome/test/chromedriver/server/http_handler.cc
@@ -118,6 +118,9 @@ HttpHandler::HttpHandler(
CommandMapping(kPost,
"session/:sessionId/url",
WrapToCommand("Navigate", base::Bind(&ExecuteGet))),
+ CommandMapping(kPost,
+ "session/:sessionId/launch",
chrisgao (Use stgao instead) 2014/01/07 23:36:36 As this is a chrome-specific command, we'd better
bustamante 2014/01/13 21:19:29 Sounds good, Done.
+ WrapToCommand("Navigate", base::Bind(&ExecuteLaunchApp))),
chrisgao (Use stgao instead) 2014/01/07 23:36:36 I prefer "LaunchApp" as it is more accurate than "
bustamante 2014/01/13 21:19:29 Done.
CommandMapping(kGet,
"session/:sessionId/alert",
WrapToCommand("IsAlertOpen",

Powered by Google App Engine
This is Rietveld 408576698