#include "third_party/blink/renderer/modules/service_worker/service_worker_installed_scripts_manager.h"
#include <utility>
#include "base/containers/span.h"
#include "base/run_loop.h"
#include "base/synchronization/waitable_event.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_installed_scripts_manager.mojom-blink.h"
#include "third_party/blink/public/platform/web_url.h"
#include "third_party/blink/public/web/web_embedded_worker.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_functional.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
namespace blink {
namespace {
class BrowserSideSender
: mojom::blink::ServiceWorkerInstalledScriptsManagerHost { … };
CrossThreadHTTPHeaderMapData ToCrossThreadHTTPHeaderMapData(
const HashMap<String, String>& headers) { … }
}
class ServiceWorkerInstalledScriptsManagerTest : public testing::Test { … };
TEST_F(ServiceWorkerInstalledScriptsManagerTest, GetRawScriptData) { … }
TEST_F(ServiceWorkerInstalledScriptsManagerTest, EarlyDisconnectionBody) { … }
TEST_F(ServiceWorkerInstalledScriptsManagerTest, EarlyDisconnectionMetaData) { … }
TEST_F(ServiceWorkerInstalledScriptsManagerTest, EarlyDisconnectionManager) { … }
}