tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsParserBase.h (472B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 #ifndef nsParserBase_h_
      6 #define nsParserBase_h_
      7 
      8 #include "nsIChannel.h"
      9 
     10 class nsParserBase : public nsISupports {
     11 public:
     12  NS_IMETHOD_(bool) IsParserEnabled() { return true; }
     13  NS_IMETHOD_(bool) IsParserClosed() { return false; }
     14 };
     15 
     16 #endif  // nsParserBase_h_