tor-browser

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

priority.h (957B)


      1 /*
      2 *  Copyright 2020 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 API_PRIORITY_H_
     12 #define API_PRIORITY_H_
     13 
     14 #include <stdint.h>
     15 
     16 #include "rtc_base/strong_alias.h"
     17 #include "rtc_base/system/rtc_export.h"
     18 
     19 namespace webrtc {
     20 
     21 // GENERATED_JAVA_ENUM_PACKAGE: org.webrtc
     22 enum class Priority {
     23  kVeryLow,
     24  kLow,
     25  kMedium,
     26  kHigh,
     27 };
     28 
     29 class RTC_EXPORT PriorityValue
     30    : public StrongAlias<class PriorityValueTag, uint16_t> {
     31 public:
     32  explicit PriorityValue(Priority priority);
     33  explicit PriorityValue(uint16_t priority) : StrongAlias(priority) {}
     34 };
     35 
     36 }  // namespace webrtc
     37 
     38 #endif  // API_PRIORITY_H_