Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Defines all the command-line switches used by //blimp. | 5 // Defines all the command-line switches used by //blimp. |
| 6 | 6 |
| 7 #ifndef BLIMP_CLIENT_APP_BLIMP_CLIENT_SWITCHES_H_ | 7 #ifndef BLIMP_CLIENT_APP_BLIMP_CLIENT_SWITCHES_H_ |
| 8 #define BLIMP_CLIENT_APP_BLIMP_CLIENT_SWITCHES_H_ | 8 #define BLIMP_CLIENT_APP_BLIMP_CLIENT_SWITCHES_H_ |
| 9 | 9 |
| 10 namespace blimp { | 10 namespace blimp { |
| 11 namespace switches { | 11 namespace switches { |
| 12 | 12 |
| 13 extern const char kBlimpletHost[]; | 13 // The path to the Blimplet's PEM-encoded X509 certificate. |
|
Wez
2016/02/18 00:40:50
s/Blimplet/Engine throughout the comments in this
Kevin M
2016/02/18 23:35:46
Done.
| |
| 14 extern const char kBlimpletTCPPort[]; | 14 // If specified, SSL connected Blimplets must supply this certificate |
| 15 // for the connection to be valid. | |
| 16 // e.g.: | |
| 17 // --engine-cert-path=/home/blimp/certs/cert.pem | |
| 18 extern const char kEngineCertPath[]; | |
| 19 | |
| 20 // Specifies the blimplet IP-address to connect to, e.g.: | |
| 21 // --engine-host="127.0.0.1". | |
| 22 // TODO(nyquist): Add support for DNS-lookup. See http://crbug.com/576857. | |
| 23 extern const char kEngineHost[]; | |
| 24 | |
| 25 // Specifies the blimplet TCP (unencrypted) port to connect to, e.g.: | |
| 26 // --engine-tcp-port=25467. | |
| 27 extern const char kEngineTCPPort[]; | |
| 28 | |
| 29 // Specifies the blimplet TCP (unencrypted) port to connect to, e.g.: | |
| 30 // --engine-ssl-port=25466. | |
| 31 // Must be specified in conjunction with --engine-cert-path. | |
| 32 extern const char kEngineSSLPort[]; | |
| 15 | 33 |
| 16 } // namespace switches | 34 } // namespace switches |
| 17 } // namespace blimp | 35 } // namespace blimp |
| 18 | 36 |
| 19 #endif // BLIMP_CLIENT_APP_BLIMP_CLIENT_SWITCHES_H_ | 37 #endif // BLIMP_CLIENT_APP_BLIMP_CLIENT_SWITCHES_H_ |
| OLD | NEW |