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

Unified Diff: chrome/test/base/ui_test_utils.h

Issue 9959062: browser_tests to access wss:// after proceeds anyway (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment update Created 8 years, 9 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/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);
};

Powered by Google App Engine
This is Rietveld 408576698