#include "third_party/blink/renderer/modules/service_worker/thread_safe_script_container.h"
#include <memory>
#include "base/synchronization/waitable_event.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/scheduler/public/non_main_thread.h"
#include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_copier_base.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
namespace blink {
ScriptStatus;
const char kKeyUrl[] = …;
class ThreadSafeScriptContainerTest : public ::testing::Test { … };
TEST_F(ThreadSafeScriptContainerTest, WaitExistingKey) { … }
TEST_F(ThreadSafeScriptContainerTest, WaitNonExistingKey) { … }
}