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

Unified Diff: chrome/test/chromedriver/session_commands.h

Issue 2065733002: Add a method to override the network conditions of the ChromeDriver session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed hard coded network values to constants. Fixed style issues. Created 4 years, 6 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/session_commands.h
diff --git a/chrome/test/chromedriver/session_commands.h b/chrome/test/chromedriver/session_commands.h
index b28c8e2af8af73089fe5cba47a31ea4232b75b84..ae35a80609b080ff1e308eb9d51ec34e855a499e 100644
--- a/chrome/test/chromedriver/session_commands.h
+++ b/chrome/test/chromedriver/session_commands.h
@@ -110,6 +110,10 @@ Status ExecuteGetNetworkConditions(Session* session,
const base::DictionaryValue& params,
std::unique_ptr<base::Value>* value);
+Status ExecuteSetNetworkConnection(Session* session,
+ const base::DictionaryValue& params,
+ std::unique_ptr<base::Value>* value);
+
Status ExecuteGetWindowPosition(Session* session,
const base::DictionaryValue& params,
std::unique_ptr<base::Value>* value);

Powered by Google App Engine
This is Rietveld 408576698