OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_ | 11 #ifndef WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_ |
12 #define WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_ | 12 #define WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_ |
13 | 13 |
14 #include "webrtc/rtc_base/flags.h" | 14 #include "webrtc/base/flags.h" |
15 | 15 |
16 extern const uint16_t kDefaultServerPort; // From defaults.[h|cc] | 16 extern const uint16_t kDefaultServerPort; // From defaults.[h|cc] |
17 | 17 |
18 // Define flags for the peerconnect_client testing tool, in a separate | 18 // Define flags for the peerconnect_client testing tool, in a separate |
19 // header file so that they can be shared across the different main.cc's | 19 // header file so that they can be shared across the different main.cc's |
20 // for each platform. | 20 // for each platform. |
21 | 21 |
22 DEFINE_bool(help, false, "Prints this message"); | 22 DEFINE_bool(help, false, "Prints this message"); |
23 DEFINE_bool(autoconnect, false, "Connect to the server without user " | 23 DEFINE_bool(autoconnect, false, "Connect to the server without user " |
24 "intervention."); | 24 "intervention."); |
25 DEFINE_string(server, "localhost", "The server to connect to."); | 25 DEFINE_string(server, "localhost", "The server to connect to."); |
26 DEFINE_int(port, kDefaultServerPort, | 26 DEFINE_int(port, kDefaultServerPort, |
27 "The port on which the server is listening."); | 27 "The port on which the server is listening."); |
28 DEFINE_bool(autocall, false, "Call the first available other client on " | 28 DEFINE_bool(autocall, false, "Call the first available other client on " |
29 "the server without user intervention. Note: this flag should only be set " | 29 "the server without user intervention. Note: this flag should only be set " |
30 "to true on one of the two clients."); | 30 "to true on one of the two clients."); |
31 | 31 |
32 #endif // WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_ | 32 #endif // WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_ |
OLD | NEW |