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

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

Issue 1022543002: [chromedriver] Implement DELETE NetworkConditions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allocate on the stack Created 5 years, 9 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/client/command_executor.py ('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 3ae92995c9cd72ace4b60ca63e487f39f26c2f7e..65f05ee941987a0673e8603c3218480a854ebab2 100644
--- a/chrome/test/chromedriver/server/http_handler.cc
+++ b/chrome/test/chromedriver/server/http_handler.cc
@@ -380,6 +380,11 @@ HttpHandler::HttpHandler(
"session/:sessionId/chromium/network_conditions",
WrapToCommand("SetNetworkConditions",
base::Bind(&ExecuteSetNetworkConditions))),
+ CommandMapping(
+ kDelete,
+ "session/:sessionId/chromium/network_conditions",
+ WrapToCommand("DeleteNetworkConditions",
+ base::Bind(&ExecuteDeleteNetworkConditions))),
CommandMapping(kGet,
"session/:sessionId/application_cache/status",
base::Bind(&ExecuteGetStatus)),
« no previous file with comments | « chrome/test/chromedriver/client/command_executor.py ('k') | chrome/test/chromedriver/test/run_py_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698