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

Unified Diff: blimp/client/app/blimp_client_switches.h

Issue 1696563002: Blimp: add support for SSL connections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address wez feedback Created 4 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: blimp/client/app/blimp_client_switches.h
diff --git a/blimp/client/app/blimp_client_switches.h b/blimp/client/app/blimp_client_switches.h
index 88167f104ef3f9b5f9e44fbaf49315372e760d24..ce1c164bdef32c7c02be3bce995232819acbdd1e 100644
--- a/blimp/client/app/blimp_client_switches.h
+++ b/blimp/client/app/blimp_client_switches.h
@@ -10,8 +10,26 @@
namespace blimp {
namespace switches {
-extern const char kBlimpletHost[];
-extern const char kBlimpletTCPPort[];
+// The path to the Engine's PEM-encoded X509 certificate.
+// If specified, SSL connected Engines must supply this certificate
+// for the connection to be valid.
+// e.g.:
+// --engine-cert-path=/home/blimp/certs/cert.pem
+extern const char kEngineCertPath[];
+
+// Specifies the Engine IP-address to connect to, e.g.:
+// --engine-host="127.0.0.1".
+// TODO(nyquist): Add support for DNS-lookup. See http://crbug.com/576857.
+extern const char kEngineHost[];
+
+// Specifies the Engine TCP (unencrypted) port to connect to, e.g.:
+// --engine-tcp-port=25467.
+extern const char kEngineTCPPort[];
+
+// Specifies the Engine TCP (unencrypted) port to connect to, e.g.:
+// --engine-ssl-port=25466.
+// Must be specified in conjunction with --engine-cert-path.
+extern const char kEngineSSLPort[];
} // namespace switches
} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698