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 6e452fe8795f80769cc8f73d869319de6aa6e5af..3ae92995c9cd72ace4b60ca63e487f39f26c2f7e 100644 |
--- a/chrome/test/chromedriver/server/http_handler.cc |
+++ b/chrome/test/chromedriver/server/http_handler.cc |
@@ -370,6 +370,16 @@ HttpHandler::HttpHandler( |
kPost, |
"session/:sessionId/location", |
WrapToCommand("SetGeolocation", base::Bind(&ExecuteSetLocation))), |
+ CommandMapping( |
+ kGet, |
+ "session/:sessionId/chromium/network_conditions", |
+ WrapToCommand("GetNetworkConditions", |
+ base::Bind(&ExecuteGetNetworkConditions))), |
+ CommandMapping( |
+ kPost, |
+ "session/:sessionId/chromium/network_conditions", |
+ WrapToCommand("SetNetworkConditions", |
+ base::Bind(&ExecuteSetNetworkConditions))), |
CommandMapping(kGet, |
"session/:sessionId/application_cache/status", |
base::Bind(&ExecuteGetStatus)), |