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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
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 // The path to the Blimplet's PEM-encoded X509 certificate.
14 // If specified, SSL connected Blimplets must supply this certificate
15 // for the connection to be valid.
16 // e.g.:
17 // --blimplet-cert-path=/home/blimp/certs/cert.pem
Wez 2016/02/12 02:31:13 Presumably this must only be specified in conjunct
Kevin M 2016/02/13 00:44:17 This is consistent with the engine's use of a "-pa
18 extern const char kBlimpletCertPath[];
19
20 // Specifies the blimplet IP-address to connect to, e.g.:
21 // --blimplet-host="127.0.0.1".
22 // TODO(nyquist): Add support for DNS-lookup. See http://crbug.com/576857.
13 extern const char kBlimpletHost[]; 23 extern const char kBlimpletHost[];
24
25 // Specifies the blimplet TCP (unencrypted) port to connect to, e.g.:
26 // --blimplet-tcp-port=25467.
14 extern const char kBlimpletTCPPort[]; 27 extern const char kBlimpletTCPPort[];
15 28
29 // Specifies the blimplet TCP (unencrypted) port to connect to, e.g.:
30 // --blimplet-ssl-port=25466.
Wez 2016/02/12 02:31:13 typo: encrypted
Kevin M 2016/02/13 00:44:17 Done.
31 extern const char kBlimpletSSLPort[];
Wez 2016/02/12 02:31:12 Could we instead have a --engine-url parameter of
Kevin M 2016/02/13 00:44:17 Would adding support for URLs imply that we should
32
16 } // namespace switches 33 } // namespace switches
17 } // namespace blimp 34 } // namespace blimp
18 35
19 #endif // BLIMP_CLIENT_APP_BLIMP_CLIENT_SWITCHES_H_ 36 #endif // BLIMP_CLIENT_APP_BLIMP_CLIENT_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698