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

Unified Diff: chrome/test/chromedriver/chrome/chrome_desktop_impl.cc

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: Moved fuction to top of setNetworkConnection 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/chrome/chrome_desktop_impl.cc
diff --git a/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc b/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc
index 30ab4213fba69ec2234e1035e1c0dfc75b7be6f8..d0eb5e2f3d3e562e2bc7c06110d0cd8e3ab7e66d 100644
--- a/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc
+++ b/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc
@@ -201,3 +201,12 @@ Status ChromeDesktopImpl::QuitImpl() {
const base::CommandLine& ChromeDesktopImpl::command() const {
return command_;
}
+
+int ChromeDesktopImpl::GetNetworkConnection() const {
+ return network_connection_;
+}
+
+void ChromeDesktopImpl::SetNetworkConnection(
+ int network_connection) {
+ network_connection_ = network_connection;
+}
« no previous file with comments | « chrome/test/chromedriver/chrome/chrome_desktop_impl.h ('k') | chrome/test/chromedriver/client/chromedriver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698