OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // Defines all the command-line switches used by //blimp/client/core. | |
6 | |
7 #ifndef BLIMP_CLIENT_CORE_SWITCHES_BLIMP_CLIENT_SWITCHES_H_ | |
8 #define BLIMP_CLIENT_CORE_SWITCHES_BLIMP_CLIENT_SWITCHES_H_ | |
9 | |
10 namespace blimp { | |
11 namespace switches { | |
12 | |
13 // Enables blimp mode. | |
14 extern const char kEnableBlimp[]; | |
15 | |
16 // The path to the engine's PEM-encoded X509 certificate. | |
17 // If specified, SSL connected Engines must supply this certificate | |
18 // for the connection to be valid. | |
19 // e.g.: | |
20 // --engine-cert-path=/home/blimp/certs/cert.pem | |
21 extern const char kEngineCertPath[]; | |
22 | |
23 // Specifies the engine's IP address. Must be used in conjunction with | |
24 // --engine-port and --engine-transport. | |
25 extern const char kEngineIP[]; | |
26 | |
27 // Specifies the engine's listening port (1-65535). | |
28 // Must be used in conjunction with --engine-ip and --engine-transport. | |
29 extern const char kEnginePort[]; | |
30 | |
31 // Specifies the transport used to communicate with the engine. | |
32 // Can be "tcp" or "ssl". | |
33 // Must be used in conjunction with --engine-ip and --engine-port. | |
34 extern const char kEngineTransport[]; | |
35 | |
36 // Enables downloading the complete page from the engine. | |
37 extern const char kDownloadWholeDocument[]; | |
38 | |
39 } // namespace switches | |
40 } // namespace blimp | |
41 | |
42 #endif // BLIMP_CLIENT_CORE_SWITCHES_BLIMP_CLIENT_SWITCHES_H_ | |
OLD | NEW |