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

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: Fixed style issues. Changed names for consistency. 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..9209ff91daa58e787df5c37b57cebaf34224b596 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(
+ const int& network_connection) {
+ network_connection_ = network_connection;
+}

Powered by Google App Engine
This is Rietveld 408576698