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

Unified Diff: ppapi/tests/testing_instance.h

Issue 12252004: PPAPI/WS: use server providing hostname as test serevr hostname (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: ppapi/tests/testing_instance.h
diff --git a/ppapi/tests/testing_instance.h b/ppapi/tests/testing_instance.h
index 013c6945e78be4aa013352d53f09774450a348bd..2ce6c4b78cb7f31dd3a7c2cc6b0dd372f3cda399 100644
--- a/ppapi/tests/testing_instance.h
+++ b/ppapi/tests/testing_instance.h
@@ -90,6 +90,7 @@ pp::InstancePrivate {
int ssl_server_port() { return ssl_server_port_; }
+ const std::string& websocket_host() { return websocket_host_; }
int websocket_port() { return websocket_port_; }
// Posts a message to the test page to eval() the script.
@@ -166,6 +167,9 @@ pp::InstancePrivate {
// SSL server port.
int ssl_server_port_;
+ // WebSocket host.
+ std::string websocket_host_;
+
// WebSocket port.
int websocket_port_;

Powered by Google App Engine
This is Rietveld 408576698