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

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

Issue 10541168: Add end to end client cert auth test for wss (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reflects review comments 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
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6ec213e0db55eac67c69a51352302f20e9785863..de84453476f58b579e6f02df9c62dbc40608e607 100644
--- a/chrome/test/base/ui_test_utils.h
+++ b/chrome/test/base/ui_test_utils.h
@@ -359,6 +359,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);
@@ -397,6 +400,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);
};
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698