blob: 80aed05a3add2cad38619917e9e9abb28fc4c7cd [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_SITE_INSTANCE_PROCESS_ASSIGNMENT_H_
#define CONTENT_PUBLIC_BROWSER_SITE_INSTANCE_PROCESS_ASSIGNMENT_H_
namespace content {
// This enum describes how a renderer process is assigned to a SiteInstance.
enum class SiteInstanceProcessAssignment {
// No renderer process has been assigned to the SiteInstance yet.
UNKNOWN,
// Reused some pre-existing process.
REUSED_EXISTING_PROCESS,
// Used an existing spare process.
USED_SPARE_PROCESS,
// No renderer could be reused, so a new one was created for the SiteInstance.
CREATED_NEW_PROCESS,
};
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_SITE_INSTANCE_PROCESS_ASSIGNMENT_H_