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..fbeee3faa567536ec5acde589576b1d1af76cf30 100644 |
--- a/chrome/test/chromedriver/server/http_handler.cc |
+++ b/chrome/test/chromedriver/server/http_handler.cc |
@@ -520,6 +520,15 @@ HttpHandler::HttpHandler( |
CommandMapping(kGet, |
"session/:sessionId/is_loading", |
WrapToCommand("IsLoading", base::Bind(&ExecuteIsLoading))), |
+ CommandMapping(kGet, |
+ "session/:sessionId/autoreport", |
+ WrapToCommand("IsAutoReporting", |
+ base::Bind(&ExecuteIsAutoReporting))), |
+ CommandMapping(kPost, |
+ "session/:sessionId/autoreport", |
+ WrapToCommand( |
+ "SetAutoReporting", |
+ base::Bind(&ExecuteSetAutoReporting))), |
}; |
command_map_.reset( |
new CommandMap(commands, commands + arraysize(commands))); |