1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32

content / public / browser / service_worker_running_info.cc [blame]

// 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,
    int64_t 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