Index: chrome/test/base/ui_test_utils.h |
diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h |
index 9588efae95061e2daa95a611d65c93a5bdc29b7b..d233015fa84821b7c2cd04f254931b1d62806674 100644 |
--- a/chrome/test/base/ui_test_utils.h |
+++ b/chrome/test/base/ui_test_utils.h |
@@ -333,6 +333,9 @@ class TestWebSocketServer { |
// Use a random port, useful for tests that are sharded. Returns the port. |
int UseRandomPort(); |
+ // Serves with TLS. |
+ void UseTLS(); |
+ |
// Starts the python websocket server using |root_directory|. Returns whether |
// the server was successfully started. |
bool Start(const FilePath& root_directory); |
@@ -365,8 +368,12 @@ class TestWebSocketServer { |
base::win::ScopedHandle job_handle_; |
#endif |
+ // Holds port number which the python websocket server uses. |
int port_; |
+ // If the python websocket server serves with TLS. |
+ bool secure_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TestWebSocketServer); |
}; |