chromium/third_party/blink/renderer/modules/service_worker/thread_safe_script_container.cc

// Copyright 2017 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/service_worker/thread_safe_script_container.h"

#include "base/containers/contains.h"
#include "base/memory/ptr_util.h"
#include "base/not_fatal_until.h"

namespace blink {

ThreadSafeScriptContainer::RawScriptData::RawScriptData(
    const String& encoding,
    Vector<uint8_t> script_text,
    Vector<uint8_t> meta_data)
    :{}

ThreadSafeScriptContainer::RawScriptData::~RawScriptData() = default;

void ThreadSafeScriptContainer::RawScriptData::AddHeader(const String& key,
                                                         const String& value) {}

ThreadSafeScriptContainer::ThreadSafeScriptContainer()
    :{}

void ThreadSafeScriptContainer::AddOnIOThread(
    const KURL& url,
    std::unique_ptr<RawScriptData> data) {}

ThreadSafeScriptContainer::ScriptStatus
ThreadSafeScriptContainer::GetStatusOnWorkerThread(const KURL& url) {}

void ThreadSafeScriptContainer::ResetOnWorkerThread(const KURL& url) {}

bool ThreadSafeScriptContainer::WaitOnWorkerThread(const KURL& url) {}

std::unique_ptr<ThreadSafeScriptContainer::RawScriptData>
ThreadSafeScriptContainer::TakeOnWorkerThread(const KURL& url) {}

void ThreadSafeScriptContainer::OnAllDataAddedOnIOThread() {}

ThreadSafeScriptContainer::~ThreadSafeScriptContainer() = default;

}  // namespace blink