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 #ifndef BLIMP_ENGINE_APP_SWITCHES_H_ | 5 #ifndef BLIMP_ENGINE_APP_SWITCHES_H_ |
6 #define BLIMP_ENGINE_APP_SWITCHES_H_ | 6 #define BLIMP_ENGINE_APP_SWITCHES_H_ |
7 | 7 |
8 namespace blimp { | 8 namespace blimp { |
9 namespace engine { | 9 namespace engine { |
10 | 10 |
11 // The port to listen to for incoming TCP connections. | 11 // The port to listen to for incoming TCP connections. |
12 extern const char kEnginePort[]; | 12 extern const char kEnginePort[]; |
13 | 13 |
14 // Flag enabling access by clients from non-localhost IP addresses. | 14 // Flag enabling access by clients from non-localhost IP addresses. |
15 extern const char kAllowNonLocalhost[]; | 15 extern const char kAllowNonLocalhost[]; |
16 | 16 |
17 // Transport type: tcp, grpc. If empty, tcp is assumed by default. | 17 // Transport type: tcp, grpc. If empty, tcp is assumed by default. |
18 extern const char kEngineTransport[]; | 18 extern const char kEngineTransport[]; |
19 | 19 |
| 20 // Transport option for tcp. |
| 21 extern const char kTcpTransport[]; |
| 22 |
| 23 // Transport option for grpc. |
| 24 extern const char kGrpcTransport[]; |
| 25 |
20 } // namespace engine | 26 } // namespace engine |
21 } // namespace blimp | 27 } // namespace blimp |
22 | 28 |
23 #endif // BLIMP_ENGINE_APP_SWITCHES_H_ | 29 #endif // BLIMP_ENGINE_APP_SWITCHES_H_ |
OLD | NEW |