chromium/extensions/browser/service_worker/worker_id.h

// 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.

#ifndef EXTENSIONS_BROWSER_SERVICE_WORKER_WORKER_ID_H_
#define EXTENSIONS_BROWSER_SERVICE_WORKER_WORKER_ID_H_

#include <stdint.h>

#include <optional>
#include <ostream>

#include "extensions/common/extension_id.h"
#include "third_party/blink/public/common/tokens/tokens.h"

namespace extensions {

// Identifies a running extension Service Worker.
struct WorkerId {};

std::ostream& operator<<(std::ostream& out, const WorkerId& id);

}  // namespace extensions

#endif  // EXTENSIONS_BROWSER_SERVICE_WORKER_WORKER_ID_H_