2015-05-08 14:37:00 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
2012-05-21 15:12:37 +04:00
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
1999-10-25 08:53:13 +04:00
|
|
|
|
2018-07-26 10:31:00 +03:00
|
|
|
#include "mozilla/dom/BrowsingContext.h"
|
2019-01-30 19:07:21 +03:00
|
|
|
#include "mozilla/dom/BrowsingContextGroup.h"
|
2003-03-15 04:04:32 +03:00
|
|
|
|
|
|
|
// session history
|
2011-10-21 19:26:34 +04:00
|
|
|
#include "nsSHEntryShared.h"
|
2003-03-15 04:04:32 +03:00
|
|
|
#include "nsSHistory.h"
|
|
|
|
|
2018-12-17 04:27:58 +03:00
|
|
|
namespace mozilla {
|
2005-09-23 22:16:40 +04:00
|
|
|
|
|
|
|
// The one time initialization for this module
|
2018-12-17 04:27:58 +03:00
|
|
|
nsresult InitDocShellModule() {
|
2018-07-26 10:31:00 +03:00
|
|
|
mozilla::dom::BrowsingContext::Init();
|
2007-09-21 13:19:59 +04:00
|
|
|
|
2011-10-21 19:26:34 +04:00
|
|
|
return NS_OK;
|
2005-09-23 22:16:40 +04:00
|
|
|
}
|
|
|
|
|
2020-05-20 12:09:06 +03:00
|
|
|
void UnloadDocShellModule() { nsSHistory::Shutdown(); }
|
2005-09-23 22:16:40 +04:00
|
|
|
|
2018-12-17 04:27:58 +03:00
|
|
|
} // namespace mozilla
|