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 96816b82c584f7743c4c441f5b3ec856c49051e5..ef9646ec41cfe62e24fb9bf93329eedce1c670ae 100644 |
--- a/chrome/test/base/ui_test_utils.h |
+++ b/chrome/test/base/ui_test_utils.h |
@@ -334,6 +334,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); |
@@ -366,8 +369,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); |
}; |