LCOV - code coverage report
Current view: top level - dom/webauthn - WebAuthnTransactionParent.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 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_WebAuthnTransactionParent_h
       8             : #define mozilla_dom_WebAuthnTransactionParent_h
       9             : 
      10             : #include "mozilla/dom/PWebAuthnTransactionParent.h"
      11             : 
      12             : /*
      13             :  * Parent process IPC implementation for WebAuthn and U2F API. Receives
      14             :  * authentication data to be either registered or signed by a key, passes
      15             :  * information to U2FTokenManager.
      16             :  */
      17             : 
      18             : namespace mozilla {
      19             : namespace dom {
      20             : 
      21             : class WebAuthnTransactionParent final : public PWebAuthnTransactionParent
      22             : {
      23             : public:
      24             :   NS_INLINE_DECL_REFCOUNTING(WebAuthnTransactionParent);
      25           0 :   WebAuthnTransactionParent() = default;
      26             :   virtual mozilla::ipc::IPCResult
      27             :   RecvRequestRegister(const WebAuthnTransactionInfo& aTransactionInfo) override;
      28             :   virtual mozilla::ipc::IPCResult
      29             :   RecvRequestSign(const WebAuthnTransactionInfo& aTransactionInfo) override;
      30             :   virtual mozilla::ipc::IPCResult RecvRequestCancel() override;
      31             :   virtual void ActorDestroy(ActorDestroyReason aWhy) override;
      32             : private:
      33           0 :   ~WebAuthnTransactionParent() = default;
      34             : };
      35             : 
      36             : }
      37             : }
      38             : 
      39             : #endif //mozilla_dom_WebAuthnTransactionParent_h

Generated by: LCOV version 1.13