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. |
| 18 extern const char kEngineTransport[]; |
| 19 |
17 } // namespace engine | 20 } // namespace engine |
18 } // namespace blimp | 21 } // namespace blimp |
19 | 22 |
20 #endif // BLIMP_ENGINE_APP_SWITCHES_H_ | 23 #endif // BLIMP_ENGINE_APP_SWITCHES_H_ |
OLD | NEW |