// 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/public/browser/service_worker_running_info.h"

namespace content {

ServiceWorkerRunningInfo::ServiceWorkerRunningInfo(
    const GURL& script_url,
    const GURL& scope,
    const blink::StorageKey& key,
    ChildProcessId render_process_id,
    const blink::ServiceWorkerToken& token,
    ServiceWorkerVersionStatus version_status)
    : script_url(script_url),
      scope(scope),
      key(key),
      render_process_id(render_process_id),
      token(token),
      version_status(version_status) {}

ServiceWorkerRunningInfo::ServiceWorkerRunningInfo(
    const ServiceWorkerRunningInfo& other) = default;
ServiceWorkerRunningInfo::ServiceWorkerRunningInfo(
    ServiceWorkerRunningInfo&& other) noexcept = default;
ServiceWorkerRunningInfo& ServiceWorkerRunningInfo::operator=(
    ServiceWorkerRunningInfo&& other) noexcept = default;

ServiceWorkerRunningInfo::~ServiceWorkerRunningInfo() = default;

}  // namespace content
