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

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

Issue 101203012: [chromedriver] Add an error autoreporting feature that automatically raises errors from browser logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from review 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
« no previous file with comments | « chrome/test/chromedriver/logging_unittest.cc ('k') | chrome/test/chromedriver/session.h » ('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 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)));
« no previous file with comments | « chrome/test/chromedriver/logging_unittest.cc ('k') | chrome/test/chromedriver/session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698