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

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim: set ts=8 sts=2 et sw=2 tw=80: */
       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 ___nsscriptableinputstream___h_
       8             : #define ___nsscriptableinputstream___h_
       9             : 
      10             : #include "nsIScriptableInputStream.h"
      11             : #include "nsIInputStream.h"
      12             : #include "nsCOMPtr.h"
      13             : #include "mozilla/Attributes.h"
      14             : 
      15             : #define NS_SCRIPTABLEINPUTSTREAM_CID        \
      16             : { 0x7225c040, 0xa9bf, 0x11d3, { 0xa1, 0x97, 0x0, 0x50, 0x4, 0x1c, 0xaf, 0x44 } }
      17             : 
      18             : #define NS_SCRIPTABLEINPUTSTREAM_CONTRACTID "@mozilla.org/scriptableinputstream;1"
      19             : 
      20             : class nsScriptableInputStream final : public nsIScriptableInputStream
      21             : {
      22             : public:
      23             :   // nsISupports methods
      24             :   NS_DECL_ISUPPORTS
      25             : 
      26             :   // nsIScriptableInputStream methods
      27             :   NS_DECL_NSISCRIPTABLEINPUTSTREAM
      28             : 
      29             :   // nsScriptableInputStream methods
      30           0 :   nsScriptableInputStream()
      31           0 :   {
      32           0 :   }
      33             : 
      34             :   static nsresult
      35             :   Create(nsISupports* aOuter, REFNSIID aIID, void** aResult);
      36             : 
      37             : private:
      38           0 :   ~nsScriptableInputStream()
      39           0 :   {
      40           0 :   }
      41             : 
      42             :   nsresult ReadHelper(char* aBuffer, uint32_t aCount);
      43             : 
      44             :   nsCOMPtr<nsIInputStream> mInputStream;
      45             : };
      46             : 
      47             : #endif // ___nsscriptableinputstream___h_

Generated by: LCOV version 1.13