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 : #ifndef AboutRedirector_h__
7 : #define AboutRedirector_h__
8 :
9 : #include "nsIAboutModule.h"
10 :
11 : namespace mozilla {
12 : namespace browser {
13 :
14 : class AboutRedirector : public nsIAboutModule
15 : {
16 : public:
17 : NS_DECL_ISUPPORTS
18 : NS_DECL_NSIABOUTMODULE
19 :
20 3 : AboutRedirector() {}
21 :
22 : static nsresult
23 : Create(nsISupports *aOuter, REFNSIID aIID, void **aResult);
24 :
25 : protected:
26 0 : virtual ~AboutRedirector() {}
27 :
28 : private:
29 : static bool sUseOldPreferences;
30 : static bool sActivityStreamEnabled;
31 : };
32 :
33 : } // namespace browser
34 : } // namespace mozilla
35 :
36 : #endif // AboutRedirector_h__
|