chromium/third_party/blink/renderer/modules/storage/dom_window_storage.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {}

// static
const char DOMWindowStorage::kSupplementName[] =;

// static
DOMWindowStorage& DOMWindowStorage::From(LocalDOMWindow& window) {}

// static
StorageArea* DOMWindowStorage::sessionStorage(LocalDOMWindow& window,
                                              ExceptionState& exception_state) {}

// static
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 {}

}  // namespace blink