LCOV - code coverage report
Current view: top level - toolkit/components/printingui/unixshared - nsPrintProgressParams.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 19 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 10 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             : /* This Source Code Form is subject to the terms of the Mozilla Public
       3             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       4             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       5             : 
       6             : #include "nsPrintProgressParams.h"
       7             : #include "nsReadableUtils.h"
       8             : 
       9             : 
      10           0 : NS_IMPL_ISUPPORTS(nsPrintProgressParams, nsIPrintProgressParams)
      11             : 
      12           0 : nsPrintProgressParams::nsPrintProgressParams()
      13             : {
      14           0 : }
      15             : 
      16           0 : nsPrintProgressParams::~nsPrintProgressParams()
      17             : {
      18           0 : }
      19             : 
      20           0 : NS_IMETHODIMP nsPrintProgressParams::GetDocTitle(char16_t * *aDocTitle)
      21             : {
      22           0 :   NS_ENSURE_ARG(aDocTitle);
      23             : 
      24           0 :   *aDocTitle = ToNewUnicode(mDocTitle);
      25           0 :   return NS_OK;
      26             : }
      27             : 
      28           0 : NS_IMETHODIMP nsPrintProgressParams::SetDocTitle(const char16_t * aDocTitle)
      29             : {
      30           0 :   mDocTitle = aDocTitle;
      31           0 :   return NS_OK;
      32             : }
      33             : 
      34           0 : NS_IMETHODIMP nsPrintProgressParams::GetDocURL(char16_t * *aDocURL)
      35             : {
      36           0 :   NS_ENSURE_ARG(aDocURL);
      37             : 
      38           0 :   *aDocURL = ToNewUnicode(mDocURL);
      39           0 :   return NS_OK;
      40             : }
      41             : 
      42           0 : NS_IMETHODIMP nsPrintProgressParams::SetDocURL(const char16_t * aDocURL)
      43             : {
      44           0 :   mDocURL = aDocURL;
      45           0 :   return NS_OK;
      46             : }
      47             : 

Generated by: LCOV version 1.13