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

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

Issue 10703189: Add end to end client cert auth test for wss (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add cacert.pem Created 8 years, 5 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 cf9146d15843334d82c2f4358bbdcd70d8e3b3ed..7b3ab37d91930b05b850a95d5aed223e1dd64681 100644
--- a/chrome/test/base/ui_test_utils.h
+++ b/chrome/test/base/ui_test_utils.h
@@ -360,6 +360,9 @@ class TestWebSocketServer {
// Serves with TLS.
void UseTLS();
+ // Requests client cert authentication.
+ void UseClientAuthentication();
+
// Starts the python websocket server using |root_directory|. Returns whether
// the server was successfully started.
bool Start(const FilePath& root_directory);
@@ -398,6 +401,9 @@ class TestWebSocketServer {
// If the python websocket server serves with TLS.
bool secure_;
+ // If the python websocket server requests client cert authentication.
+ bool client_authentication_;
+
DISALLOW_COPY_AND_ASSIGN(TestWebSocketServer);
};

Powered by Google App Engine
This is Rietveld 408576698