#include "third_party/blink/renderer/modules/storage/dom_window_storage.h"
#include "base/feature_list.h"
#include "base/memory/scoped_refptr.h"
#include "services/network/public/mojom/web_sandbox_flags.mojom-blink.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_client.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/modules/storage/storage_area.h"
#include "third_party/blink/renderer/modules/storage/storage_controller.h"
#include "third_party/blink/renderer/modules/storage/storage_namespace.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
namespace blink {
DOMWindowStorage::DOMWindowStorage(LocalDOMWindow& window)
: … { … }
void DOMWindowStorage::Trace(Visitor* visitor) const { … }
const char DOMWindowStorage::kSupplementName[] = …;
DOMWindowStorage& DOMWindowStorage::From(LocalDOMWindow& window) { … }
StorageArea* DOMWindowStorage::sessionStorage(LocalDOMWindow& window,
ExceptionState& exception_state) { … }
StorageArea* DOMWindowStorage::localStorage(LocalDOMWindow& window,
ExceptionState& exception_state) { … }
StorageArea* DOMWindowStorage::sessionStorage(
ExceptionState& exception_state) const { … }
StorageArea* DOMWindowStorage::localStorage(
ExceptionState& exception_state) const { … }
void DOMWindowStorage::InitSessionStorage(
mojo::PendingRemote<mojom::blink::StorageArea> storage_area) const { … }
void DOMWindowStorage::InitLocalStorage(
mojo::PendingRemote<mojom::blink::StorageArea> storage_area) const { … }
StorageArea* DOMWindowStorage::GetOrCreateSessionStorage(
ExceptionState& exception_state,
mojo::PendingRemote<mojom::blink::StorageArea> storage_area_for_init)
const { … }
StorageArea* DOMWindowStorage::GetOrCreateLocalStorage(
ExceptionState& exception_state,
mojo::PendingRemote<mojom::blink::StorageArea> storage_area_for_init)
const { … }
}