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 af0c443b22fb6542d07084f487a7f7092284518c..dc4f90bb49823fcdd6bc3f584b5b9259448977f5 100644 |
--- a/chrome/test/chromedriver/server/http_handler.cc |
+++ b/chrome/test/chromedriver/server/http_handler.cc |
@@ -611,6 +611,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))); |