tor-browser

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

portal_request_response.h (1052B)


      1 /*
      2 *  Copyright (c) 2022 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 MODULES_PORTAL_PORTAL_REQUEST_RESPONSE_H_
     12 #define MODULES_PORTAL_PORTAL_REQUEST_RESPONSE_H_
     13 
     14 namespace webrtc {
     15 namespace xdg_portal {
     16 
     17 // Contains type of responses that can be observed when making a request to
     18 // a desktop portal interface.
     19 enum class RequestResponse {
     20  // Unknown, the initialized status.
     21  kUnknown,
     22  // Success, the request is carried out.
     23  kSuccess,
     24  // The user cancelled the interaction.
     25  kUserCancelled,
     26  // The user interaction was ended in some other way.
     27  kError,
     28 
     29  kMaxValue = kError,
     30 };
     31 
     32 }  // namespace xdg_portal
     33 }  // namespace webrtc
     34 #endif  // MODULES_PORTAL_PORTAL_REQUEST_RESPONSE_H_