chromium/content/browser/service_worker/test_service_worker_observer.cc

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

#include "content/browser/service_worker/test_service_worker_observer.h"

#include <utility>

#include "base/run_loop.h"
#include "base/test/test_simple_task_runner.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"

namespace content {

TestServiceWorkerObserver::TestServiceWorkerObserver(
    scoped_refptr<ServiceWorkerContextWrapper> wrapper)
    :{}

TestServiceWorkerObserver::~TestServiceWorkerObserver() {}

void TestServiceWorkerObserver::RunUntilStatusChange(
    ServiceWorkerVersion* version,
    ServiceWorkerVersion::Status status) {}

void TestServiceWorkerObserver::RunUntilActivated(
    ServiceWorkerVersion* version,
    scoped_refptr<base::TestSimpleTaskRunner> runner) {}

void TestServiceWorkerObserver::RunUntilLiveVersion() {}

void TestServiceWorkerObserver::OnVersionStateChanged(
    int64_t version_id,
    const GURL& scope,
    const blink::StorageKey& key,
    ServiceWorkerVersion::Status status) {}

void TestServiceWorkerObserver::OnNewLiveVersion(
    const ServiceWorkerVersionInfo& version_info) {}

}  // namespace content