tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

flag_defs.h (1753B)


      1 /*
      2 *  Copyright 2012 The WebRTC Project Authors. All rights reserved.
      3 *
      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
      6 *  tree. An additional intellectual property rights grant can be found
      7 *  in the file PATENTS.  All contributing project authors may
      8 *  be found in the AUTHORS file in the root of the source tree.
      9 */
     10 
     11 #ifndef EXAMPLES_PEERCONNECTION_CLIENT_FLAG_DEFS_H_
     12 #define EXAMPLES_PEERCONNECTION_CLIENT_FLAG_DEFS_H_
     13 
     14 #include <string>
     15 
     16 #include "absl/flags/flag.h"
     17 
     18 extern const uint16_t kDefaultServerPort;  // From defaults.[h|cc]
     19 
     20 // Define flags for the peerconnect_client testing tool, in a separate
     21 // header file so that they can be shared across the different main.cc's
     22 // for each platform.
     23 
     24 ABSL_FLAG(bool,
     25          autoconnect,
     26          false,
     27          "Connect to the server without user "
     28          "intervention.");
     29 ABSL_FLAG(std::string, server, "localhost", "The server to connect to.");
     30 ABSL_FLAG(int,
     31          port,
     32          kDefaultServerPort,
     33          "The port on which the server is listening.");
     34 ABSL_FLAG(
     35    bool,
     36    autocall,
     37    false,
     38    "Call the first available other client on "
     39    "the server without user intervention.  Note: this flag should only be set "
     40    "to true on one of the two clients.");
     41 
     42 ABSL_FLAG(
     43    std::string,
     44    force_fieldtrials,
     45    "",
     46    "Field trials control experimental features. This flag specifies the field "
     47    "trials in effect. E.g. running with "
     48    "--force_fieldtrials=WebRTC-FooFeature/Enabled/ "
     49    "will assign the group Enabled to field trial WebRTC-FooFeature. Multiple "
     50    "trials are separated by \"/\"");
     51 
     52 #endif  // EXAMPLES_PEERCONNECTION_CLIENT_FLAG_DEFS_H_