LCOV - code coverage report
Current view: top level - dom/webauthn - WebAuthnTransactionChild.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 4 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim:set ts=2 sw=2 sts=2 et cindent: */
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #ifndef mozilla_dom_WebAuthnTransactionChild_h
       8             : #define mozilla_dom_WebAuthnTransactionChild_h
       9             : 
      10             : #include "mozilla/dom/PWebAuthnTransactionChild.h"
      11             : 
      12             : /*
      13             :  * Child process IPC implementation for WebAuthn API. Receives results of
      14             :  * WebAuthn transactions from the parent process, and sends them to the
      15             :  * WebAuthnManager either cancel the transaction, or be formatted and relayed to
      16             :  * content.
      17             :  */
      18             : 
      19             : namespace mozilla {
      20             : namespace dom {
      21             : 
      22             : class WebAuthnTransactionChild final : public PWebAuthnTransactionChild
      23             : {
      24             : public:
      25           0 :   NS_INLINE_DECL_REFCOUNTING(WebAuthnTransactionChild);
      26             :   WebAuthnTransactionChild();
      27             :   mozilla::ipc::IPCResult RecvConfirmRegister(nsTArray<uint8_t>&& aRegBuffer) override;
      28             :   mozilla::ipc::IPCResult RecvConfirmSign(nsTArray<uint8_t>&& aCredentialId,
      29             :                                           nsTArray<uint8_t>&& aBuffer) override;
      30             :   mozilla::ipc::IPCResult RecvCancel(const nsresult& aError) override;
      31             :   void ActorDestroy(ActorDestroyReason why) override;
      32             : private:
      33           0 :   ~WebAuthnTransactionChild() = default;
      34             : };
      35             : 
      36             : }
      37             : }
      38             : 
      39             : #endif //mozilla_dom_WebAuthnTransactionChild_h

Generated by: LCOV version 1.13