#include "extensions/browser/service_worker/worker_id.h"
#include <optional>
#include <tuple>
#include "extensions/common/extension_id.h"
#include "third_party/blink/public/common/tokens/tokens.h"
namespace extensions {
WorkerId::WorkerId() = default;
WorkerId::WorkerId(const ExtensionId& extension_id,
int render_process_id,
int64_t version_id,
int thread_id)
: … { … }
WorkerId::WorkerId(const ExtensionId& extension_id,
int render_process_id,
int64_t version_id,
int thread_id,
const blink::ServiceWorkerToken& start_token)
: … { … }
bool WorkerId::operator<(const WorkerId& other) const { … }
bool WorkerId::operator==(const WorkerId& other) const { … }
bool WorkerId::operator!=(const WorkerId& other) const { … }
std::ostream& operator<<(std::ostream& out, const WorkerId& id) { … }
}