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

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

Issue 2743013002: Add webdriver endpoint to send custom debugger commands (Closed)
Patch Set: Adding stub, quick code reorg Created 3 years, 7 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/logging.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/server/http_handler.cc
diff --git a/chrome/test/chromedriver/server/http_handler.cc b/chrome/test/chromedriver/server/http_handler.cc
index 090da2e608272be8fc9bbd299904d73a655ee0f6..265d99487c732c6e0f6f0377e76961f8f03aaa77 100644
--- a/chrome/test/chromedriver/server/http_handler.cc
+++ b/chrome/test/chromedriver/server/http_handler.cc
@@ -612,6 +612,15 @@ HttpHandler::HttpHandler(
"session/:sessionId/touch/pinch",
WrapToCommand("TouchPinch",
base::Bind(&ExecuteTouchPinch))),
+ CommandMapping(kPost,
+ "session/:sessionId/chromium/send_command",
+ WrapToCommand("SendCommand",
+ base::Bind(&ExecuteSendCommand))),
+ CommandMapping(
+ kPost,
+ "session/:sessionId/chromium/send_command_and_get_result",
+ WrapToCommand("SendCommandAndGetResult",
+ base::Bind(&ExecuteSendCommandAndGetResult))),
};
command_map_.reset(
new CommandMap(commands, commands + arraysize(commands)));
« no previous file with comments | « chrome/test/chromedriver/logging.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