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

Unified Diff: ppapi/tests/testing_instance.cc

Issue 9791003: Added pepper test for SSLHandshake (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
« chrome/test/ui/ppapi_uitest.cc ('K') | « ppapi/tests/testing_instance.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/testing_instance.cc
diff --git a/ppapi/tests/testing_instance.cc b/ppapi/tests/testing_instance.cc
index 4ef5152dbd96bee507a77844f4f37d4a2e64f9e4..f19292f271fa1d6ac4ec88036320b89434ee9966 100644
--- a/ppapi/tests/testing_instance.cc
+++ b/ppapi/tests/testing_instance.cc
@@ -31,6 +31,7 @@ TestingInstance::TestingInstance(PP_Instance instance)
current_case_(NULL),
executed_tests_(false),
nacl_mode_(false),
+ ssl_server_port_(-1),
websocket_port_(-1) {
callback_factory_.Initialize(this);
}
@@ -51,6 +52,8 @@ bool TestingInstance::Init(uint32_t argc,
protocol_ = argv[i];
} else if (std::strcmp(argn[i], "websocket_port") == 0) {
websocket_port_ = atoi(argv[i]);
+ } else if (std::strcmp(argn[i], "ssl_server_port") == 0) {
+ ssl_server_port_ = atoi(argv[i]);
}
}
// Create the proper test case from the argument.
« chrome/test/ui/ppapi_uitest.cc ('K') | « ppapi/tests/testing_instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698