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

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: 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..6f5b8f145e4dea3d80d736aafe0345a818f00651 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("IsAutoReportingEnabled",
+ base::Bind(&ExecuteIsAutoReportingEnabled))),
+ CommandMapping(kPost,
+ "session/:sessionId/autoreport",
+ WrapToCommand(
+ "SetAutoReportingEnabled",
chrisgao (Use stgao instead) 2014/01/09 22:11:55 "SetAutoReporting" ? It could be both enabled and
samuong 2014/01/16 00:29:28 Done.
+ base::Bind(&ExecuteSetAutoReportingEnabled))),
};
command_map_.reset(
new CommandMap(commands, commands + arraysize(commands)));

Powered by Google App Engine
This is Rietveld 408576698