Bug 1690340 - Part 1: Hide all the panel tools in the developer tools menu. r=jdescottes
[gecko.git] / parser / htmlparser / nsParserBase.h
blobf1518abef688d1732a522f01278e6fddf826a7ee
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/. */
5 #ifndef nsParserBase_h_
6 #define nsParserBase_h_
8 #include "nsIChannel.h"
10 class nsParserBase : public nsISupports {
11 public:
12 NS_IMETHOD_(bool) IsParserEnabled() { return true; }
13 NS_IMETHOD GetChannel(nsIChannel** aChannel) {
14 *aChannel = nullptr;
15 return NS_OK;
19 #endif // nsParserBase_h_