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 189bdb53ca6832b1feef717525b01be9c06c8488..6c0e810823ffaf31109a160613764011ab07ef42 100644 |
--- a/chrome/test/chromedriver/server/http_handler.cc |
+++ b/chrome/test/chromedriver/server/http_handler.cc |
@@ -382,6 +382,11 @@ HttpHandler::HttpHandler( |
"session/:sessionId/location", |
WrapToCommand("SetGeolocation", base::Bind(&ExecuteSetLocation))), |
CommandMapping( |
+ kPost, |
+ "session/:sessionId/network_connection", |
+ WrapToCommand("SetNetworkConnection", |
+ base::Bind(&ExecuteSetNetworkConnection))), |
+ CommandMapping( |
kGet, |
"session/:sessionId/chromium/network_conditions", |
WrapToCommand("GetNetworkConditions", |