LCOV - code coverage report
Current view: top level - extensions/universalchardet/src/base - nsEscCharsetProber.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 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: 4; 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             : #ifndef nsEscCharSetProber_h__
       7             : #define nsEscCharSetProber_h__
       8             : 
       9             : #include "nsCharSetProber.h"
      10             : #include "nsCodingStateMachine.h"
      11             : #include "nsAutoPtr.h"
      12             : 
      13             : class nsEscCharSetProber: public nsCharSetProber {
      14             : public:
      15             :   nsEscCharSetProber();
      16             :   virtual ~nsEscCharSetProber(void);
      17             :   nsProbingState HandleData(const char* aBuf, uint32_t aLen);
      18           0 :   const char* GetCharSetName() {return mDetectedCharset;}
      19           0 :   nsProbingState GetState(void) {return mState;}
      20             :   void      Reset(void);
      21           0 :   float     GetConfidence(void){return (float)0.99;}
      22             : 
      23             : protected:
      24             :   void      GetDistribution(uint32_t aCharLen, const char* aStr);
      25             : 
      26             :   nsAutoPtr<nsCodingStateMachine> mCodingSM;
      27             :   nsProbingState mState;
      28             :   const char *  mDetectedCharset;
      29             : };
      30             : 
      31             : #endif /* nsEscCharSetProber_h__ */
      32             : 

Generated by: LCOV version 1.13